summaryrefslogtreecommitdiff
path: root/weather-widget
diff options
context:
space:
mode:
authorPavel Makhov <streetturtle@users.noreply.github.com>2017-02-08 08:56:51 -0500
committerGitHub <noreply@github.com>2017-02-08 08:56:51 -0500
commitb1a4270c4deedf30f344514956f296be0d9c5d68 (patch)
tree18aa018172db81d9b31b3e3a90659ec4974ff422 /weather-widget
parent1e540af00b7cfcbbd4e3607079a01c7b68af3758 (diff)
fix typos in lua doc
Diffstat (limited to 'weather-widget')
-rw-r--r--weather-widget/weather.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/weather-widget/weather.lua b/weather-widget/weather.lua
index 0762073..43158a9 100644
--- a/weather-widget/weather.lua
+++ b/weather-widget/weather.lua
@@ -52,7 +52,7 @@ local icon_map = {
["50n"] = "weather-fog-symbolic.svg"
}
--- handy function to convert temperatire in Kelvin to Celcius
+-- handy function to convert temperature from Kelvin to Celcius
function to_celcius(kelvin)
return math.floor(tonumber(kelvin) - 273.15)
end
@@ -76,4 +76,4 @@ weather_widget:connect_signal("mouse::enter", function()
timeout = 5, hover_timeout = 0.5,
width = 200,
}
-end) \ No newline at end of file
+end)