mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-10 07:00:08 +01:00
FFstrbuf: remove FF_STRBUF_CREATE macro
This commit is contained in:
3 files changed
+6
-10
No files matched your search
+2
-3
@@ -36,7 +36,8 @@ void ffPrintIcons(FFinstance* instance)
|
||||
return;
|
||||
}
|
||||
|
||||
FF_STRBUF_CREATE(gtkPretty);
|
||||
FF_STRBUF_AUTO_DESTROY gtkPretty;
|
||||
ffStrbufInit(>kPretty);
|
||||
ffParseGTK(>kPretty, gtk2, gtk3, gtk4);
|
||||
|
||||
if(instance->config.icons.outputFormat.length == 0)
|
||||
@@ -65,7 +66,5 @@ void ffPrintIcons(FFinstance* instance)
|
||||
});
|
||||
}
|
||||
|
||||
ffStrbufDestroy(>kPretty);
|
||||
|
||||
#endif
|
||||
}
|
||||
Reference in new issue
Block a user