mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 16:26:39 +01:00
Logo: simplify ffLogoPrintRemaining
This commit is contained in:
+3
-5
@@ -467,11 +467,9 @@ void ffLogoPrintLine(void)
|
||||
|
||||
void ffLogoPrintRemaining(void)
|
||||
{
|
||||
while(instance.state.keysHeight <= instance.state.logoHeight)
|
||||
{
|
||||
ffLogoPrintLine();
|
||||
putchar('\n');
|
||||
}
|
||||
if (instance.state.keysHeight <= instance.state.logoHeight)
|
||||
ffPrintCharTimes('\n', instance.state.logoHeight - instance.state.keysHeight + 1);
|
||||
instance.state.keysHeight = instance.state.logoHeight + 1;
|
||||
}
|
||||
|
||||
void ffLogoBuiltinPrint(void)
|
||||
|
||||
Reference in New Issue
Block a user