From b8735eeca6e6801e5d776754332a6426871f69b2 Mon Sep 17 00:00:00 2001 From: Michael Farrell Date: Sat, 2 Feb 2013 11:59:14 +1100 Subject: Update applets/clock/clock-location-tile.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix for issue #73.  Instead of checking for the minutes and hours not equalling zero, check only the minutes aren't 0. --- applets/clock/clock-location-tile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applets') 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 %s %+ld:%ld", buf, tzname, hours, minutes); } else if (hours != 0) { -- cgit v1.2.1