[Kde-imaging] [Bug 135320] calendar year do not match locale

Orgad Shaneh orgads at gmail.com
Thu Oct 12 21:45:01 CEST 2006


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=135320         




------- Additional Comments From orgads gmail com  2006-10-12 21:44 -------
The line:
int inRow = (totalMonths_ / 2) + ((totalMonths_ % 2) != 0);
at calselect.cpp can be replaced with:
int inRow = (int)ceil((double)totalMonths_ / 2.0);

I didn't check it yet (not home), but it should work.
(of course, #include <math.h> might be needed)


More information about the Kde-imaging mailing list