diff --git a/src/sbbs3/prntfile.cpp b/src/sbbs3/prntfile.cpp index 4c0df4e2b841122e4192be07fe437c7e1258b080..214323fc54a521ed48fe40e8de593625a6f15731 100644 --- a/src/sbbs3/prntfile.cpp +++ b/src/sbbs3/prntfile.cpp @@ -184,10 +184,7 @@ void sbbs_t::printtail(char *str, int lines, long mode) } /****************************************************************************/ -/* Prints the menu number 'menunum' from the text directory. Checks for ^A */ -/* ,ANSI sequences, pauses and aborts. Usually accessed by user inputing '?'*/ -/* Called from every function that has an available menu. */ -/* The code definitions are as follows: */ +/* Displays a menu file (e.g. from the text/menu directory) */ /****************************************************************************/ void sbbs_t::menu(const char *code) { @@ -214,7 +211,7 @@ void sbbs_t::menu(const char *code) } } - long mode = P_OPENCLOSE; + long mode = P_OPENCLOSE | P_CPM_EOF; if(column == 0) mode |= P_NOCRLF; printfile(path, mode);