mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 05:18:06 +01:00
fixed crash bug with WM_CLASS==NULL
etc
This commit is contained in:
@@ -336,7 +336,7 @@ getLocalizedMenuFile(char *menu)
|
||||
if (!Locale)
|
||||
return NULL;
|
||||
|
||||
len = strlen(menu)+32;
|
||||
len = strlen(menu)+strlen(Locale)+8;
|
||||
buffer = wmalloc(len);
|
||||
|
||||
/* try menu.locale_name */
|
||||
|
||||
Reference in New Issue
Block a user