Line 0
Link Here
|
|
|
1 |
--- option.c.orig Tue Jun 20 07:57:17 2006 |
2 |
+++ option.c Mon Sep 10 14:53:11 2007 |
3 |
@@ -1331,9 +1331,11 @@ |
4 |
else if (OptionMatch("help", *args)) { |
5 |
FILE *helpfile; |
6 |
char *readstat = (char *) -1; |
7 |
+ char fname[128]; |
8 |
int lines = 0; |
9 |
|
10 |
- helpfile = fopen("crafty.hlp", "r"); |
11 |
+ sprintf(fname, "%s/crafty.hlp", book_path); |
12 |
+ helpfile = fopen(fname, "r"); |
13 |
if (!helpfile) { |
14 |
printf("ERROR. Unable to open \"crafty.hlp\" -- help unavailable\n"); |
15 |
return (1); |