reading structure from file

This commit is contained in:
Linus Dierheimer
2021-02-27 20:31:54 +01:00
parent 0c3a562ec6
commit d3db1066e2
3 changed files with 134 additions and 33 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
#include "fastfetch.h"
#include <malloc.h>
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
@@ -108,7 +108,7 @@ void ffPrintError(FFinstance* instance, const char* key, const char* message)
return;
ffPrintLogoAndKey(instance, key);
printf(FASTFETCH_TEXT_MODIFIER_ERROR"%s\n"FASTFETCH_TEXT_MODIFIER_RESET, message);
printf(FASTFETCH_TEXT_MODIFIER_ERROR"%s"FASTFETCH_TEXT_MODIFIER_RESET"\n", message);
}
static void getCacheFileName(FFinstance* instance, const char* key, char* buffer)