Commit 2ef8f1b7 authored by rswindell's avatar rswindell
Browse files

Missing local variable: html.

parent 57807165
...@@ -46,22 +46,23 @@ void sbbs_t::printfile(char *str, long mode) ...@@ -46,22 +46,23 @@ void sbbs_t::printfile(char *str, long mode)
{ {
char* buf; char* buf;
char* p; char* p;
int file,wip=0,rip=0; int file;
BOOL wip=FALSE,rip=FALSE,html=FALSE;
long length,savcon=console; long length,savcon=console;
FILE *stream; FILE *stream;
p=strrchr(str,'.'); p=strrchr(str,'.');
if(p!=NULL) { if(p!=NULL) {
if(stricmp(p,".wip")==0) { if(stricmp(p,".wip")==0) {
wip=1; wip=TRUE;
mode|=P_NOPAUSE; mode|=P_NOPAUSE;
} }
else if(stricmp(p,".rip")==0) { else if(stricmp(p,".rip")==0) {
rip=1; rip=TRUE;
mode|=P_NOPAUSE; mode|=P_NOPAUSE;
} }
else if(stricmp(p,".html")==0) { else if(stricmp(p,".html")==0) {
html=1; html=TRUE;
mode|=(P_HTML|P_NOPAUSE); mode|=(P_HTML|P_NOPAUSE);
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment