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:
parent
3c6288b107
commit
6281764d4e
@ -444,6 +444,12 @@ const char* CGetCampoIni(void)
|
|||||||
xvt_fsys_build_pathname(path, NULL, exedir, ininame, "ini", NULL);
|
xvt_fsys_build_pathname(path, NULL, exedir, ininame, "ini", NULL);
|
||||||
#else
|
#else
|
||||||
xvt_fsys_build_pathname(path, NULL, exedir, "campo", "ini", NULL);
|
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
|
#endif
|
||||||
}
|
}
|
||||||
prawin = xvt_str_duplicate(path);
|
prawin = xvt_str_duplicate(path);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user