From: Christophe CURIS <[email protected]>
(merge with e11199d9cf45efcd52505da90c5430646de4ea26)
---
src/defaults.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/defaults.c b/src/defaults.c
index 36bd41a..6ea935e 100644
--- a/src/defaults.c
+++ b/src/defaults.c
@@ -3097,7 +3097,7 @@ static int setWorkspaceBack(WScreen * scr, WDefaultEntry
* entry, void *tdata, v
len = strlen(text) + 40;
command = wmalloc(len);
dither = wPreferences.no_dithering ? "-m" : "-d";
- if (!strstr(text, "\'") && !strstr(text, "\\")) {
+ if (!strchr(text, '\'') && !strchr(text, '\\')) {
command = wmalloc(len);
if (wPreferences.smooth_workspace_back)
snprintf(command, len, "wmsetbg %s -S -p '%s'
&", dither, text);
--
2.1.1
--
To unsubscribe, send mail to [email protected].