summaryrefslogtreecommitdiff
path: root/src/misc1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c
index 996ec7450..c4a6015a0 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -9555,7 +9555,7 @@ uniquefy_paths(gap, pattern)
{
STRCPY(path, ".");
add_pathsep(path);
- STRCAT(path, short_name);
+ STRMOVE(path + STRLEN(path), short_name);
}
}
ui_breakcheck();