mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-08 06:00:08 +01:00
Globals: use generic selection when passing format args
This commit is contained in:
@@ -39,8 +39,8 @@ void ffPrintCursor(FFCursorOptions* options)
|
||||
else
|
||||
{
|
||||
FF_PRINT_FORMAT_CHECKED(FF_CURSOR_MODULE_NAME, 0, &options->moduleArgs, FF_PRINT_TYPE_DEFAULT, FF_CURSOR_NUM_FORMAT_ARGS, ((FFformatarg[]) {
|
||||
{FF_FORMAT_ARG_TYPE_STRBUF, &result.theme, "theme"},
|
||||
{FF_FORMAT_ARG_TYPE_STRBUF, &result.size, "size"},
|
||||
FF_FORMAT_ARG(result.theme, "theme"),
|
||||
FF_FORMAT_ARG(result.size, "size"),
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user