summaryrefslogtreecommitdiff
path: root/applets/clock
diff options
context:
space:
mode:
authorMichael Farrell <[email protected]>2013-02-02 11:59:14 +1100
committerMichael Farrell <[email protected]>2013-02-02 11:59:14 +1100
commitb8735eeca6e6801e5d776754332a6426871f69b2 (patch)
tree14b123ea53e12ada8c591eaa6b74e787536eb7dc /applets/clock
parent63af85af7ae234463478fa512939dec1a49f8b98 (diff)
downloadmate-panel-b8735eeca6e6801e5d776754332a6426871f69b2.tar.bz2
mate-panel-b8735eeca6e6801e5d776754332a6426871f69b2.tar.xz
Update applets/clock/clock-location-tile.c
Fix for issue #73.  Instead of checking for the minutes and hours not equalling zero, check only the minutes aren't 0.
Diffstat (limited to 'applets/clock')
-rw-r--r--applets/clock/clock-location-tile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/clock/clock-location-tile.c b/applets/clock/clock-location-tile.c
index a6f6a4ce..33007b14 100644
--- a/applets/clock/clock-location-tile.c
+++ b/applets/clock/clock-location-tile.c
@@ -488,7 +488,7 @@ format_time (struct tm *now,
hours = offset / 3600;
minutes = labs (offset % 3600) / 60;
- if (hours != 0 && minutes != 0) {
+ if (minutes != 0) {
tmp = g_strdup_printf ("%s <small>%s %+ld:%ld</small>", buf, tzname, hours, minutes);
}
else if (hours != 0) {