aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/epiwm/files/patch-src__style_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/epiwm/files/patch-src__style_init.c')
-rw-r--r--x11-wm/epiwm/files/patch-src__style_init.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-wm/epiwm/files/patch-src__style_init.c b/x11-wm/epiwm/files/patch-src__style_init.c
new file mode 100644
index 000000000000..a40c399acac2
--- /dev/null
+++ b/x11-wm/epiwm/files/patch-src__style_init.c
@@ -0,0 +1,13 @@
+--- src/style_init.c.orig Sat Feb 3 08:53:20 2001
++++ src/style_init.c Sun Jun 24 01:05:45 2007
+@@ -77,8 +77,8 @@
+ tokens[i] = NULL;
+ i = 0;
+ strncpy(tmpstring, line, 100);
+- (char *) tokens[i] = (char *) strtok(tmpstring, "\"");
+- while (((char *) tokens[++i] = (char *) strtok(NULL, "\"")));
++ tokens[i] = (char *) strtok(tmpstring, "\"");
++ while ((tokens[++i] = (char *) strtok(NULL, "\"")));
+ tokens[i] = NULL;
+ return (tokens[index]);
+ }