aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/alf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alf.c b/src/alf.c
index dd9ae00..1f85558 100644
--- a/src/alf.c
+++ b/src/alf.c
@@ -118,9 +118,9 @@ void atarify_filename(char *result) {
strncpy(ext, p, 3);
for(p = ext; *p; p++)
if(*p == '.') *p = 0;
+ strcat(result, ext);
}
- strcat(result, ext);
for(p = result; *p; p++)
*p = toupper(*p);
}