mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-06 09:20:34 +02:00
- renamed wstrappend() to wstrconcat().
be sure to replace wstrappend() with wstrconcat() anywhere in your code because a new wstrappend() function will be implemented that will have different semantics and if your code will use the new one instead of the old will break.
This commit is contained in:
1 parent
1a8c578a1c
commit
2bd2b72af9
17 files changed
+55
-51
No files matched your search
+4
-4
@@ -1011,8 +1011,8 @@ updateDomain(char *domain, char *key, char *texture)
|
||||
char *program = "wdwrite";
|
||||
|
||||
/* here is a mem leak */
|
||||
system(wstrappend("wdwrite ",
|
||||
wstrappend(domain, smooth ? " SmoothWorkspaceBack YES"
|
||||
system(wstrconcat("wdwrite ",
|
||||
wstrconcat(domain, smooth ? " SmoothWorkspaceBack YES"
|
||||
: " SmoothWorkspaceBack NO")));
|
||||
|
||||
execlp(program, program, domain, key, texture, NULL);
|
||||
@@ -1161,9 +1161,9 @@ getFullPixmapPath(char *file)
|
||||
path = malloc(bsize);
|
||||
}
|
||||
|
||||
tmp = wstrappend(path, "/");
|
||||
tmp = wstrconcat(path, "/");
|
||||
wfree(path);
|
||||
path = wstrappend(tmp, file);
|
||||
path = wstrconcat(tmp, file);
|
||||
wfree(tmp);
|
||||
|
||||
return path;
|
||||
|
||||
Reference in new issue
Block a user