aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 3ddd992..991ae85 100644
--- a/main.c
+++ b/main.c
@@ -287,7 +287,7 @@ int main __P2 (int,argc, char **,argv)
strcpy(copyfile, powwow_dir);
else
strcpy(copyfile, POWWOW_DIR);
- if (helpfile[strlen(helpfile) - 1] != '/')
+ if (copyfile[strlen(copyfile) - 1] != '/')
strcat(copyfile, "/");
strcat(copyfile, copyname);
if (access(copyfile, R_OK) == -1 && !access(copyname, R_OK))