Avoid too much refreshing when changing the drive in the 16 bits file
dialog.
This commit is contained in:
parent
788a9f7680
commit
ec7d7fa380
|
@ -908,6 +908,7 @@ static LRESULT FILEDLG_WMCommand(HWND16 hWnd, WPARAM16 wParam, LPARAM lParam)
|
||||||
(LPARAM)SEGPTR_GET(pstr));
|
(LPARAM)SEGPTR_GET(pstr));
|
||||||
sprintf(tmpstr, "%c:", pstr[2]);
|
sprintf(tmpstr, "%c:", pstr[2]);
|
||||||
SEGPTR_FREE(pstr);
|
SEGPTR_FREE(pstr);
|
||||||
|
if (notification != CBN_SELCHANGE) return TRUE;
|
||||||
reset_scan:
|
reset_scan:
|
||||||
lRet = SendDlgItemMessage16(hWnd, cmb1, CB_GETCURSEL16, 0, 0);
|
lRet = SendDlgItemMessage16(hWnd, cmb1, CB_GETCURSEL16, 0, 0);
|
||||||
if (lRet == LB_ERR)
|
if (lRet == LB_ERR)
|
||||||
|
|
Loading…
Reference in New Issue