mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-30 00:37:23 +01:00
Global (Windows): prefers NTAPI for querying registry values
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ static void verify(const char* format, const char* arg, const char* expected, in
|
||||
FF_STRBUF_AUTO_DESTROY result = ffStrbufCreate();
|
||||
FF_STRBUF_AUTO_DESTROY formatter = ffStrbufCreateStatic(format);
|
||||
const FFformatarg arguments[] = {
|
||||
{ .type = FF_FORMAT_ARG_TYPE_STRING, arg }
|
||||
{ .type = FF_ARG_TYPE_STRING, arg }
|
||||
};
|
||||
ffParseFormatString(&result, &formatter, 1, arguments);
|
||||
if (!ffStrbufEqualS(&result, expected))
|
||||
|
||||
Reference in New Issue
Block a user