summaryrefslogtreecommitdiff
path: root/app/xedit/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/xedit/util.c')
-rw-r--r--app/xedit/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/xedit/util.c b/app/xedit/util.c
index f65bf4d00..2378b4052 100644
--- a/app/xedit/util.c
+++ b/app/xedit/util.c
@@ -522,7 +522,7 @@ ResolveName(char *filename)
int length = strlen(result);
XmuSnprintf(result + length, BUFSIZ - length, "%s%s",
- dir[length - 1] == '/' ? "" : "/", file);
+ result[length - 1] == '/' ? "" : "/", file);
}
XtFree(tmp);