summaryrefslogtreecommitdiffabout
path: root/korganizer
Side-by-side diff
Diffstat (limited to 'korganizer') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kodaymatrix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/kodaymatrix.cpp b/korganizer/kodaymatrix.cpp
index 36cd990..120bc89 100644
--- a/korganizer/kodaymatrix.cpp
+++ b/korganizer/kodaymatrix.cpp
@@ -696,3 +696,3 @@ void KODayMatrix::paintEvent(QPaintEvent * pevent)
int endMo = days[mSelEndT].month();
- if ( startMo == 12 && mo == 1 && endMo == 1 )
+ if ( startMo == 12 && mo == 1 && endMo <= 2 )
startMo = 1;