mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
- fixed problem with WINGs based apps exiting with a "X_RotateProperties"
related error when text was selected in a textfiled (this included WPrefs.app and Window Maker itself). - replaced some malloc's with wmalloc's
This commit is contained in:
@@ -1249,7 +1249,7 @@ wClipIconPaint(WAppIcon *aicon)
|
||||
wIconPaint(aicon->icon);
|
||||
|
||||
length = strlen(workspace->name);
|
||||
ws_name = malloc(length + 1);
|
||||
ws_name = wmalloc(length + 1);
|
||||
sprintf(ws_name, "%s", workspace->name);
|
||||
sprintf(ws_number, "%i", scr->current_workspace + 1);
|
||||
nlength = strlen(ws_number);
|
||||
|
||||
Reference in New Issue
Block a user