Win32GUI: Allow empty separator lines in menus

This commit is contained in:
Pasi Kallinen
2017-09-17 12:17:46 +03:00
parent 11863dd5e9
commit 78e5c9a10a

View File

@@ -586,8 +586,6 @@ onMSNHCommand(HWND hWnd, WPARAM wParam, LPARAM lParam)
if (data->type != MENU_TYPE_MENU)
break;
if (strlen(msg_data->str) == 0)
break;
if (data->menu.size == data->menu.allocated) {
data->menu.allocated += 10;