X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=sst.c;h=ae209e2cb373ed7cf7ad8a156e1fbf01b55bc092;hp=b3a0202663bd5d6760366c82f8a1bf73d4f24545;hb=d1e79ed7b6329d2c7e26a99402d90b0041fc593f;hpb=dd95aad0a184fc4f2ab4cd13323a70c9833acc2b diff --git a/sst.c b/sst.c index b3a0202..ae209e2 100644 --- a/sst.c +++ b/sst.c @@ -6,6 +6,10 @@ #include #endif #include + +#ifndef SSTDOC +#define SSTDOC "sst.doc" +#endif int getch(void); @@ -135,7 +139,7 @@ static void helpme(void) { cmdbuf[j] = toupper(commands[i][j]); cmdbuf[j] = '\0'; } - fp = fopen("sst.doc", "r"); + fp = fopen(SSTDOC, "r"); if (fp == NULL) { prout("Spock- \"Captain, that information is missing from the"); prout(" computer. You need to find SST.DOC and put it in the");