// checks for already absolute path
if (AbsolutePath(RelPath))
#ifdef __EMX__
- if(RelPath[0]!= '/' && RelPath[0]!= '\\')
+ if (RelPath[0]!= '/' && RelPath[0]!= '\\')
#endif
return RelPath;
if (ifs && ofs) {
ofs << ifs.rdbuf();
ifs.close();
- return ofs.str();
+ return ofs.str().c_str();
}
}
lyxerr << "LyX was not able to read file '" << fname << "'" << endl;