summaryrefslogtreecommitdiff
path: root/applets/clock/clock-location.c
diff options
context:
space:
mode:
Diffstat (limited to 'applets/clock/clock-location.c')
-rw-r--r--applets/clock/clock-location.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/applets/clock/clock-location.c b/applets/clock/clock-location.c
index 22ef32be..4c48777f 100644
--- a/applets/clock/clock-location.c
+++ b/applets/clock/clock-location.c
@@ -685,8 +685,9 @@ update_weather_info (gpointer data)
DISTANCE_UNIT_KM
};
- // set temperature and speed units only if different from
- // invalid/default
+ /* set temperature and speed units only if different from
+ * invalid/default
+ */
if (priv->temperature_unit > TEMP_UNIT_DEFAULT)
prefs.temperature_unit = priv->temperature_unit;
if (priv->speed_unit > SPEED_UNIT_DEFAULT)