summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.c b/config.c
index ecea724d..f5ee8386 100644
--- a/config.c
+++ b/config.c
@@ -114,6 +114,7 @@ cFlatConfig::cFlatConfig(void) {
ChannelWeatherShow = 1;
PlaybackWeatherShow = 1;
+ WeatherFontSize = 0.05;
TopBarFontClockScale = 0.01;
TopBarHideClockText = 0;
@@ -341,6 +342,7 @@ bool cFlatConfig::SetupParse(const char *Name, const char *Value) {
else if (strcmp(Name, "MainMenuWidgetWeatherType") == 0) MainMenuWidgetWeatherType = atoi(Value);
else if (strcmp(Name, "ChannelWeatherShow") == 0) ChannelWeatherShow = atoi(Value);
else if (strcmp(Name, "PlaybackWeatherShow") == 0) PlaybackWeatherShow = atoi(Value);
+ else if (strcmp(Name, "WeatherFontSize") == 0) WeatherFontSize = atod(Value);
else return false;