better result handling of calculation functions

This commit is contained in:
Linus Dierheimer
2021-04-22 21:41:42 +02:00
parent c12484ec6b
commit e28126f40e
23 changed files with 520 additions and 407 deletions
+2 -2
View File
@@ -90,7 +90,7 @@ static inline void printHelp()
" --uptime-key <key>\n"
" --packages-key <key>\n"
" --shell-key <key>\n"
" --resolution-key <key>\n"
" --resolution-key <key>: takes the resolution index as argument\n"
" --de-key <key>\n"
" --wm-key <key>\n"
" --wm-theme-key <key>\n"
@@ -785,7 +785,7 @@ static void applyData(FFinstance* instance, FFdata* data)
{
//We must do this after parsing all options because of color options
if(data->logoName.length == 0)
ffLoadLogo(&instance->config);
ffLoadLogo(instance);
else
ffLoadLogoSet(&instance->config, data->logoName.chars);