Logo printing: keep state and config separate

This commit is contained in:
Linus Dierheimer
2021-11-11 19:10:52 +01:00
parent 42b8182428
commit 1c8eca1010
4 changed files with 51 additions and 49 deletions
-1
View File
@@ -116,7 +116,6 @@ static void defaultConfig(FFinstance* instance)
instance->config.hideCursor = true;
ffLoadLogo(instance);
instance->config.logoIsFromUserFile = false;
//Since most of these properties are unlikely to be used at once, give them minimal heap space (the \0 character)
ffStrbufInitA(&instance->config.osFormat, 1);