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:
OBattler
2019-09-22 21:10:47 +02:00
parent 7108043872
commit 98d7e96f67
7 changed files with 47 additions and 21 deletions

View File

@@ -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);