aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Slaven <bpk@hoopajoo.net>2005-06-03 06:58:22 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2005-06-03 06:58:22 (GMT)
commit72dee56c6dbdc6a077513cb0b9a0b2cfee46b4c2 (patch)
tree918c89cb415eaed0a79effb30b3bd23547140a88
parentc9da504aabe3fb583c228d0b5a656ec425c5c104 (diff)
downloadpowwow-72dee56c6dbdc6a077513cb0b9a0b2cfee46b4c2.zip
powwow-72dee56c6dbdc6a077513cb0b9a0b2cfee46b4c2.tar.gz
powwow-72dee56c6dbdc6a077513cb0b9a0b2cfee46b4c2.tar.bz2
Applied patch from Michael Sterrett <mr_bones_@gentoo.org> that fixes
the code that locates the copyright file
-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))