Fixed a compile-breaking bug.

This commit is contained in:
OBattler
2018-10-23 19:45:05 +02:00
parent 53e64c22ba
commit 09dbd59985
2 changed files with 6 additions and 2 deletions

View File

@@ -8,7 +8,7 @@
*
* Platform support defintions for Win32.
*
* Version: @(#)win.h 1.0.22 2018/10/23
* Version: @(#)win.h 1.0.23 2018/10/23
*
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
* Miran Grca, <mgrca8@gmail.com>
@@ -53,7 +53,9 @@
#define WM_HARDRESET 0x8892
#define WM_SHUTDOWN 0x8893
#define WM_CTRLALTDEL 0x8894
/* Pause/resume status: WPARAM = 1 for paused, 0 for resumed. */
#define WM_SENDSTATUS 0x8895
/* Settings status: WPARAM = 1 for open, 0 for closed. */
#define WM_SENDSSTATUS 0x8896
#ifdef USE_VNC

View File

@@ -8,7 +8,7 @@
*
* Windows 86Box Settings dialog handler.
*
* Version: @(#)win_settings.c 1.0.66 2018/10/23
* Version: @(#)win_settings.c 1.0.67 2018/10/23
*
* Authors: Miran Grca, <mgrca8@gmail.com>
* David Hrdlička, <hrdlickadavid@outlook.com>
@@ -4485,6 +4485,8 @@ static BOOL CALLBACK
#endif
win_settings_confirm(HWND hdlg, int button)
{
int i;
SendMessage(hwndChildDialog, WM_SAVESETTINGS, 0, 0);
i = settings_msgbox_reset();
if (i > 0) {