aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/fvwm95/files/patch-modules-FvwmTaskBar-Goodies.c
blob: 45cf038f553e06cf4cfbb1be7235d2943e841165 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- modules/FvwmTaskBar/Goodies.c.orig  Mon Sep  9 21:27:48 2002
+++ modules/FvwmTaskBar/Goodies.c   Mon Sep  9 21:28:44 2002
@@ -64,7 +64,9 @@
     if (strcasecmp(&tline[Clength+8], "None") == 0) {
       NoMailCheck = True;
     } else {
-      UpdateString(&mailpath, &tline[Clength+11]); 
+      /* UpdateString doesn't string spaces or newlines (and +11 is wrong) */
+      /* UpdateString(&mailpath, &tline[Clength+11]); */
+      CopyString(&mailpath, &tline[Clength+8]);
     }
   } else if(strncasecmp(tline,CatString3(Module, "ClockFormat",""),
              Clength+11)==0) {