Added warning to save before configuring boards (new STR_2308 !)

This commit is contained in:
waltje
2018-09-04 02:26:17 -04:00
parent 0029688f15
commit fb0c788b61
20 changed files with 60 additions and 37 deletions

View File

@@ -8,7 +8,7 @@
*
* Common resources for the application.
*
* Version: @(#)VARCem-common.rc 1.0.8 2018/08/27
* Version: @(#)VARCem-common.rc 1.0.9 2018/09/03
*
* Author: Fred N. van Kempen, <decwiz@yahoo.com>
*
@@ -668,6 +668,7 @@ BEGIN
IDS_ERR_NORENDR STR_2305
IDS_ERR_NOCDROM STR_2306
IDS_ERR_NO_USB STR_2307
IDS_ERR_SAVEIT STR_2308
END
/* Application messages (2400.) */

View File

@@ -8,7 +8,7 @@
*
* Implementation of the Settings dialog.
*
* Version: @(#)win_settings_periph.h 1.0.11 2018/08/27
* Version: @(#)win_settings_periph.h 1.0.12 2018/09/03
*
* Authors: Fred N. van Kempen, <decwiz@yahoo.com>
* Miran Grca, <mgrca8@gmail.com>
@@ -339,6 +339,8 @@ peripherals_proc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lParam)
dev = isamem_get_device(c);
if (dev != NULL)
temp_deviceconfig |= dlg_devconf(hdlg, (void *)dev);
else
ui_msgbox(MBX_INFO, (wchar_t *)IDS_ERR_SAVEIT);
break;
}
return FALSE;