author | zautrix <zautrix> | 2005-03-21 18:04:19 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-21 18:04:19 (UTC) |
commit | 8888389a4511e0bda23774b993dcfdeb7f837c31 (patch) (side-by-side diff) | |
tree | cb45be3b62f2255f69cee92e358380cc76d3ad30 /korganizer | |
parent | 3c5d7b484e6ab263ab4091f22815770ea8da6c9c (diff) | |
download | kdepimpi-8888389a4511e0bda23774b993dcfdeb7f837c31.zip kdepimpi-8888389a4511e0bda23774b993dcfdeb7f837c31.tar.gz kdepimpi-8888389a4511e0bda23774b993dcfdeb7f837c31.tar.bz2 |
nf
-rw-r--r-- | korganizer/kodaymatrix.cpp | 2 |
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 @@ -693,9 +693,9 @@ void KODayMatrix::paintEvent(QPaintEvent * pevent) //qDebug("-- %d %d ", mSelStartT, mSelEndT); //qDebug("%d %d %d - d %d", mo, days[mSelStartT].month() , days[mSelEndT].month(), days[mSelEndT].day() ); int startMo = days[mSelStartT].month(); int endMo = days[mSelEndT].month(); - if ( startMo == 12 && mo == 1 && endMo == 1 ) + if ( startMo == 12 && mo == 1 && endMo <= 2 ) startMo = 1; if ( endMo == 1 && mo == 12 ) endMo = 12; if ( (startMo > mo || endMo < mo) ) { |