Fixed bug in XTA driver.
Fixed string-loading issue. Fixes for handling file dialog, filters, etc. Changed the return value of dlg_file so we can use its RO flag. Removed the additional _WP statusbar menu items (no longer needed with new RO handling.)
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
* and builds a complete Win32 DIALOG resource block in a
|
||||
* buffer in memory, and then passes that to the API handler.
|
||||
*
|
||||
* Version: @(#)win_devconf.c 1.0.16 2018/05/04
|
||||
* Version: @(#)win_devconf.c 1.0.17 2018/05/11
|
||||
*
|
||||
* Authors: Fred N. van Kempen, <decwiz@yahoo.com>
|
||||
* Miran Grca, <mgrca8@gmail.com>
|
||||
@@ -425,7 +425,7 @@ dlg_proc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
if (ws[c] == L'|')
|
||||
ws[c] = 0;
|
||||
|
||||
if (! dlg_file_ex(hdlg, ws, NULL, temp, 0))
|
||||
if (dlg_file_ex(hdlg, ws, NULL, temp, DLG_FILE_LOAD))
|
||||
SendMessage(h, WM_SETTEXT, 0, (LPARAM)temp);
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user