openbsd-ports/x11/wmtz/patches/patch-wmtz_wmtz_c
2010-05-22 15:15:52 +00:00

39 lines
1.2 KiB
Plaintext

$OpenBSD: patch-wmtz_wmtz_c,v 1.3 2010/05/22 15:15:52 espie Exp $
--- wmtz/wmtz.c.orig Mon Apr 16 21:26:34 2001
+++ wmtz/wmtz.c Sat May 22 17:15:07 2010
@@ -51,8 +51,7 @@
#define STRSIZE 10
#define LMST 1
#define GMST 0
-#define ABOUT "xmessage -center -buttons \"Close\" \"WMTZ - Window Maker Time Zone dockapp v0.7
-http://www.geocities.com/jl1n/wmtz/wmtz.html\""
+#define ABOUT "xmessage -center -buttons \"Close\" \"WMTZ - Window Maker Time Zone dockapp v0.7\nhttp://www.geocities.com/jl1n/wmtz/wmtz.html\""
/*
@@ -196,7 +195,7 @@ int main(int argc, char *argv[]) {
month[0] = "JAN"; month[1] = "FEB"; month[2] = "MAR";
month[3] = "APR"; month[4] = "MAY"; month[5] = "JUN";
month[6] = "JUL"; month[7] = "AUG"; month[8] = "SEP";
- month[9] = "OUT"; month[10] = "NOV"; month[11] = "DEC";
+ month[9] = "OCT"; month[10] = "NOV"; month[11] = "DEC";
week_day[0] = "SUNDAY ";
week_day[1] = "MONDAY ";
@@ -479,6 +478,7 @@ void wmtz_routine(int argc, char **argv)
but_stat = -1;
break;
default:
+ ;
}
}
@@ -529,6 +529,7 @@ void handleTheMenu(int but_stat)
exit(0);
break;
default:
+ ;
}
return;
}