From 8b4a168475a005d7fc4a298321688fccdb2f8ba3 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 29 Nov 2025 02:55:00 -0500 Subject: Fix another atarify_filename() buglet: ../FOO.TXT was coming out FOO. instead of FOO.TXT as it should. --- src/alf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/alf.c b/src/alf.c index 88cb316..916958d 100644 --- a/src/alf.c +++ b/src/alf.c @@ -116,7 +116,7 @@ void atarify_filename(char *result) { strcpy(result, name); strcat(result, "."); - p = strchr(in_filename, '.'); + p = strchr(p, '.'); if(p) { p++; strncpy(ext, p, 3); -- cgit v1.2.3