mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-17 06:35:47 +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:
@@ -1156,9 +1156,8 @@ getFullPixmapPath(char *file)
|
||||
char *path = wmalloc(bsize);
|
||||
|
||||
while (!getcwd(path, bsize)) {
|
||||
wfree(path);
|
||||
bsize += bsize/2;
|
||||
path = malloc(bsize);
|
||||
path = wrealloc(path, bsize);
|
||||
}
|
||||
|
||||
tmp = wstrconcat(path, "/");
|
||||
|
||||
Reference in New Issue
Block a user