summaryrefslogtreecommitdiff
path: root/applets/clock/clock-location.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-06-20 14:56:13 +0200
committerraveit65 <[email protected]>2020-07-05 21:10:53 +0200
commit34c561894bfedab242876fea249ab8596a61e8a4 (patch)
treeb7bc1bbca8ffeb4f36728426a82d97ec2feb3910 /applets/clock/clock-location.c
parent75958f67ce255167ce09d8054efe25823c55cafd (diff)
downloadmate-panel-34c561894bfedab242876fea249ab8596a61e8a4.tar.bz2
mate-panel-34c561894bfedab242876fea249ab8596a61e8a4.tar.xz
Avoid using single-line cpp comments
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)