Commit cc80196d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Minor fix

parent 35e03205
......@@ -372,7 +372,7 @@ void CalPrintIncidence::print(QPainter &p, int width, int height)
}
offset = offset / 60; // make minutes
int useoffset = offset;
int useoffset = 0;
if (offset % (24 * 60) == 0 && offset > 0) { // divides evenly into days?
useoffset = offset / (24 * 60);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment