From 72dee56c6dbdc6a077513cb0b9a0b2cfee46b4c2 Mon Sep 17 00:00:00 2001 From: Steve Slaven Date: Fri, 3 Jun 2005 06:58:22 +0000 Subject: Applied patch from Michael Sterrett that fixes the code that locates the copyright file 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)) -- cgit v0.10.2