diff options
| author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2025-09-20 19:19:34 +0200 | 
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2025-09-20 19:19:34 +0200 | 
| commit | e7d20cf352688bf717a01f4e6d9e6f497c2bea4c (patch) | |
| tree | cfd2ef9b569f49af985a6f1ec44f2614f63c8e78 /app/bin/paramfilelist.c | |
| parent | a14a7a0ccc9de76aeab0b2e4bbf58f1a79deedc2 (diff) | |
New upstream version 5.3.1Beta2upstream/5.3.1Beta2
Diffstat (limited to 'app/bin/paramfilelist.c')
| -rw-r--r-- | app/bin/paramfilelist.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/app/bin/paramfilelist.c b/app/bin/paramfilelist.c index f6703f3..c43e2bd 100644 --- a/app/bin/paramfilelist.c +++ b/app/bin/paramfilelist.c @@ -31,6 +31,7 @@  #include "paths.h"  #include "include/paramfile.h"  #include "include/paramfilelist.h" +#include "include/stringxtc.h"  #include "common-ui.h" @@ -157,7 +158,7 @@ static BOOL_T UpdateParamFiles(void)  					LOG1( log_paramupdate, ( "  Old CONTENTS %s\n", oldContents ) );  					// Check 'Parameter Files Names' map  					for (int fileNo = 1; ; fileNo++) { -						char fileNoS[4+9+1]; +						char fileNoS[4+10+1];  						sprintf(fileNoS, "File%d", fileNo);  						char * prevContents = wPrefGetString("Parameter File Names", fileNoS);  						if (prevContents == NULL || *prevContents == '\0') {  | 
