summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index f65bf4d..2378b40 100644
--- a/util.c
+++ b/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);