Patch level :2.0 504

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :aggiunta error box che precisa quale file e' impossibile aprire


git-svn-id: svn://10.65.10.50/trunk@11259 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2003-06-20 08:16:30 +00:00
parent 3c6288b107
commit 6281764d4e

View File

@ -444,6 +444,12 @@ const char* CGetCampoIni(void)
xvt_fsys_build_pathname(path, NULL, exedir, ininame, "ini", NULL);
#else
xvt_fsys_build_pathname(path, NULL, exedir, "campo", "ini", NULL);
if (! xvt_fsys_file_exists(path))
{
char msg[256];
sprintf(msg, "Impossibile aprire '%s'", (const char *)path);
xvt_dm_post_fatal_exit(msg);
}
#endif
}
prawin = xvt_str_duplicate(path);