- weather: don't add "°C" to temperatures

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2019-03-20 22:42:39 +01:00
committed by Thilo Graf
parent 00265bd7c4
commit c639827324

View File

@@ -66,11 +66,11 @@ class CWeather
void hide(); void hide();
std::string getActTemp() 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) 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() std::string getActIcon()
{ {