aboutsummaryrefslogtreecommitdiff
path: root/src/alf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alf.c')
-rw-r--r--src/alf.c2
1 files changed, 1 insertions, 1 deletions
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);