Logo: simplify ffLogoPrintRemaining

This commit is contained in:
李通洲
2023-06-28 10:04:10 +08:00
parent 0e97df08c2
commit fd4ed07449
+3 -5
View File
@@ -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)