try {
SGPath tpath = ApplicationProperties::GetRootPath( panelFilename.c_str() );
- readProperties( tpath.str(), ApplicationProperties::Properties );
+ readProperties( tpath, ApplicationProperties::Properties );
}
catch( sg_io_exception & e ) {
cerr << e.getFormattedMessage() << endl;
buf[511] = '\0';
if (cwd)
{
- path = cwd;
+ path = SGPath::fromLocal8Bit(cwd);
}
return path;
}