another Windows issue causing startup grief

This commit is contained in:
nhmall
2026-05-11 22:59:42 -04:00
parent d62b56e0f2
commit f5456fa92c
+2
View File
@@ -1194,7 +1194,9 @@ mswin_select_map_mode(int mode)
(PNHMainWindow) GetWindowLongPtr(GetNHApp()->hMainWnd, GWLP_USERDATA);
if (!data) {
#if (NH_DEVEL_STATUS != NH_STATUS_RELEASED && NH_DEVEL_STATUS != NH_STATUS_POSTRELEASE)
impossible("data is null in %s:%d", __func__, __LINE__);
#endif
return;
}