diff options
author | Michael Farrell <micolous+gh@gmail.com> | 2013-02-02 11:59:14 +1100 |
---|---|---|
committer | Michael Farrell <micolous+gh@gmail.com> | 2013-02-02 11:59:14 +1100 |
commit | b8735eeca6e6801e5d776754332a6426871f69b2 (patch) | |
tree | 14b123ea53e12ada8c591eaa6b74e787536eb7dc /applets | |
parent | 63af85af7ae234463478fa512939dec1a49f8b98 (diff) | |
download | mate-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')
-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 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) { |