1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48:06 +01:00

From man localtime, January is 0 and December is 11, compare it to 12 won't do such a thing.

This commit is contained in:
id
1999-12-12 23:53:23 +00:00
parent 03748f0fbe
commit d39bb888a0

View File

@@ -541,7 +541,7 @@ InitXThing(WScreen *scr)
t = time(NULL); t = time(NULL);
l = localtime(&t); l = localtime(&t);
if ((l->tm_mon!=12||l->tm_mday<24||l->tm_mday>26)) { if ((l->tm_mon!=11||l->tm_mday<24||l->tm_mday>26)) {
return False; return False;
} }