diff options
Diffstat (limited to 'applets/clock/clock-location-tile.c')
-rw-r--r-- | applets/clock/clock-location-tile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/clock/clock-location-tile.c b/applets/clock/clock-location-tile.c index 8620bb4b..fc331e1d 100644 --- a/applets/clock/clock-location-tile.c +++ b/applets/clock/clock-location-tile.c @@ -473,7 +473,7 @@ format_time (struct tm *now, } } - if (strftime (buf, sizeof (buf), format, now) <= 0) { + if (strftime (buf, sizeof (buf), format, now) == 0) { strcpy (buf, "???"); } |