Logo: simplify ffLogoPrintRemaining

This commit is contained in:
李通洲 committed 2023-06-28 10:56:53 +08:00
1 parent 0e97df08c2
commit fd4ed07449
1 file changed
+3 -5
+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)