Win32GUI: Allow empty separator lines in menus
This commit is contained in:
@@ -586,8 +586,6 @@ onMSNHCommand(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
|||||||
|
|
||||||
if (data->type != MENU_TYPE_MENU)
|
if (data->type != MENU_TYPE_MENU)
|
||||||
break;
|
break;
|
||||||
if (strlen(msg_data->str) == 0)
|
|
||||||
break;
|
|
||||||
|
|
||||||
if (data->menu.size == data->menu.allocated) {
|
if (data->menu.size == data->menu.allocated) {
|
||||||
data->menu.allocated += 10;
|
data->menu.allocated += 10;
|
||||||
|
|||||||
Reference in New Issue
Block a user