mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-12 14:31:00 +01:00
Cursor: Don't print 0px
This commit is contained in:
1 parent
ce2f2f4416
commit
0534882f4e
2 files changed
+3
-2
No files matched your search
@@ -31,7 +31,7 @@ void ffPrintCursor(FFCursorOptions* options)
|
||||
ffPrintLogoAndKey(FF_CURSOR_MODULE_NAME, 0, &options->moduleArgs, FF_PRINT_TYPE_DEFAULT);
|
||||
ffStrbufWriteTo(&result.theme, stdout);
|
||||
|
||||
if(result.size.length > 0)
|
||||
if(result.size.length > 0 && !ffStrbufEqualS(&result.size, "0"))
|
||||
printf(" (%spx)", result.size.chars);
|
||||
|
||||
putchar('\n');
|
||||
|
||||
Reference in new issue
Block a user