From 5621df2f1fd73ceadb40332d5371954bc6f759ef Mon Sep 17 00:00:00 2001 From: ole00 Date: Sun, 31 Mar 2024 14:43:00 +0100 Subject: [PATCH] PC app: format the list of GAL names Up to 8 GAL names on the same line. --- src_pc/afterburner.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src_pc/afterburner.c b/src_pc/afterburner.c index f1c6099..8c1826d 100644 --- a/src_pc/afterburner.c +++ b/src_pc/afterburner.c @@ -157,6 +157,9 @@ static char sendGenericCommand(const char* command, const char* errorText, int m static void printGalTypes() { int i; for (i = 1; i < sizeof(galinfo) / sizeof(galinfo[0]); i++) { + if (i % 8 == 1) { + printf("\n\t"); + } else if (i > 1) { printf(" "); }