mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
fixed crash bug with WM_CLASS==NULL
etc
This commit is contained in:
@@ -181,7 +181,7 @@ UpdateSwitchMenu(WScreen *scr, WWindow *wwin, int action)
|
||||
WMenu *switchmenu = scr->switch_menu;
|
||||
WMenuEntry *entry;
|
||||
char title[MAX_MENU_TEXT_LENGTH+6];
|
||||
int len = MAX_MENU_TEXT_LENGTH+6;
|
||||
int len = sizeof(title);
|
||||
int i;
|
||||
int checkVisibility = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user