summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Clock.c b/Clock.c
index 5b33535..de6beb6 100644
--- a/Clock.c
+++ b/Clock.c
@@ -2016,7 +2016,7 @@ SetValues(Widget gcurrent, Widget grequest, Widget gnew,
(XtPointer) gnew);
new->clock.show_second_hand =
- (abs(new->clock.update) <= SECOND_HAND_TIME);
+ (fabsf(new->clock.update) <= SECOND_HAND_TIME);
if (new->clock.show_second_hand != current->clock.show_second_hand)
redisplay = TRUE;
}