win32: mapview: fix crash bug which should have rendered it useless, but was mysteriously not for anyone until just now for me
This commit is contained in:
parent
499826aab3
commit
60c5b06bc8
|
@ -207,6 +207,8 @@ BOOL CALLBACK ViewMapsProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lPara
|
|||
memset(MapView, 0, sizeof(MapView));
|
||||
MapView->clear = true;
|
||||
MapView->autoup_secs = 1;
|
||||
MapView->map = 0;
|
||||
MapView->lcd = 0;
|
||||
SendMessage(GetDlgItem(hwnd, IDC_AUTO_UPDATE_SPIN),
|
||||
UDM_SETRANGE, 0, MAKELONG(99, 1));
|
||||
SendMessage(GetDlgItem(hwnd, IDC_AUTO_UPDATE_SPIN),
|
||||
|
|
Loading…
Reference in New Issue