From 9e019a4c7824fb4a1d20dad0910e66d7dd89296d Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 20 Mar 2019 22:42:39 +0100 Subject: [PATCH] =?UTF-8?q?weather:=20don't=20add=20"=C2=B0C"=20to=20tempe?= =?UTF-8?q?ratures?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/e67740f0ce9715b0b5c7015179b397be5b91d9b2 Author: vanhofen Date: 2019-03-20 (Wed, 20 Mar 2019) Origin message was: ------------------ - weather: don't add "°C" to temperatures --- src/gui/weather.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/weather.h b/src/gui/weather.h index fbe39040e..4f5d69013 100644 --- a/src/gui/weather.h +++ b/src/gui/weather.h @@ -67,11 +67,11 @@ class CWeather void hide(); std::string getActTemp() { - return to_string((int)(act_temp + 0.5)) + "°C"; + return to_string((int)(act_temp + 0.5)); }; std::string getForecastTemp(int i = 0) { - return to_string((int)(v_forecast[i].max_temp + 0.5)) + "°C"; + return to_string((int)(v_forecast[i].max_temp + 0.5)); }; std::string getActIcon() {