using strbuf for loading/saving cached values

This commit is contained in:
Linus Dierheimer
2021-03-21 20:42:07 +01:00
parent c783bb9d97
commit 2004544528
11 changed files with 53 additions and 46 deletions
+1 -1
View File
@@ -43,6 +43,6 @@ void ffPrintShell(FFinstance* instance)
ffStrbufSetS(&shell, shellName);
}
ffPrintAndSaveCachedValue(instance, "Shell", shell.chars);
ffPrintAndSaveCachedValue(instance, "Shell", &shell);
ffStrbufDestroy(&shell);
}