Added confirmation dialogs on hard reset and exit.
*** WARNING *** 86Box v2.00 is now in feature freeze, any new features are going to be added in v2.10 instead. Bug reports for v2.00 are still accepted, however.
This commit is contained in:
@@ -2033,7 +2033,7 @@ escp_init(void *lpt)
|
||||
if (ft_handle == NULL) {
|
||||
ft_handle = dynld_module(fn, ft_imports);
|
||||
if (ft_handle == NULL) {
|
||||
ui_msgbox(MBX_ERROR, (wchar_t *)IDS_2120);
|
||||
ui_msgbox(MBX_ERROR, (wchar_t *)IDS_2119);
|
||||
return(NULL);
|
||||
}
|
||||
}
|
||||
@@ -2041,7 +2041,7 @@ escp_init(void *lpt)
|
||||
/* Initialize FreeType. */
|
||||
if (ft_lib == NULL) {
|
||||
if (ft_Init_FreeType(&ft_lib)) {
|
||||
ui_msgbox(MBX_ERROR, (wchar_t *)IDS_2120);
|
||||
ui_msgbox(MBX_ERROR, (wchar_t *)IDS_2119);
|
||||
dynld_close(ft_lib);
|
||||
ft_lib = NULL;
|
||||
return(NULL);
|
||||
|
||||
Reference in New Issue
Block a user