Patch level : 2.0 230
Files correlati : tutti Ricompilazione Demo : [ ] Commento : Migliorata gestione fatal box git-svn-id: svn://10.65.10.50/trunk@10940 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
c1f550fd68
commit
6a79d5fe5b
@ -13,17 +13,13 @@
|
|||||||
bool fatal_box(
|
bool fatal_box(
|
||||||
const char* fmt, ...) // @parm Messaggio da stampare nella finestra
|
const char* fmt, ...) // @parm Messaggio da stampare nella finestra
|
||||||
// (il formato e' come nella printf del C)
|
// (il formato e' come nella printf del C)
|
||||||
|
// @comm Il programma viene interrotto al momento in cui si e' verificato l'errore.
|
||||||
// @comm Se si opera in ambiente Windows crea la finestra con il bottone OK
|
|
||||||
// Il programma viene interrotto al momento in cui si e' verificato
|
|
||||||
// l'errore.
|
|
||||||
{
|
{
|
||||||
buildmsg();
|
buildmsg();
|
||||||
xvt_dm_post_fatal_exit(msg);
|
xvt_dm_post_fatal_exit(msg);
|
||||||
if (xvt_running())
|
if (xvt_running())
|
||||||
main_app().stop_run();
|
main_app().stop_run();
|
||||||
else
|
exit(1);
|
||||||
exit(1);
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user