aboutsummaryrefslogtreecommitdiff
path: root/misc/wmcalendar/files/patch-Src::wmCalendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/wmcalendar/files/patch-Src::wmCalendar.c')
-rw-r--r--misc/wmcalendar/files/patch-Src::wmCalendar.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/misc/wmcalendar/files/patch-Src::wmCalendar.c b/misc/wmcalendar/files/patch-Src::wmCalendar.c
new file mode 100644
index 000000000000..9ab9d60ab593
--- /dev/null
+++ b/misc/wmcalendar/files/patch-Src::wmCalendar.c
@@ -0,0 +1,18 @@
+--- Src/wmCalendar.c.orig Thu Apr 24 16:23:05 2003
++++ Src/wmCalendar.c Thu Apr 24 16:23:15 2003
+@@ -55,6 +55,7 @@
+ -----------------------------------------------------*/
+ void initValues(){
+ int i;
++ XpmColorSymbol colors[2] = { {"Back0", NULL, 0}, {"Back1", NULL, 0} };
+ monthOffset = 0;
+
+ /* Compute widths of months and digits */
+@@ -72,7 +73,6 @@
+ for (i = 0; i < 32; ++i)
+ datetype[i][1] = 0;
+
+- XpmColorSymbol colors[2] = { {"Back0", NULL, 0}, {"Back1", NULL, 0} };
+ dockapp_set_eventmask();
+ dockapp_xpm2pixmap( wmCalendar_master2_xpm, &bg[1], &mask, colors, 0);
+ dockapp_xpm2pixmap( wmCalendar_master_xpm, &bg[0], &mask, colors, 0);