--- sbbs/src/uifc/uifcx.c 2018/04/24 16:41:24 1.1 +++ sbbs/src/uifc/uifcx.c 2018/04/24 16:45:50 1.1.1.2 @@ -2,13 +2,13 @@ /* Standard I/O Implementation of UIFC (user interface) library */ -/* $Id: uifcx.c,v 1.1 2018/04/24 16:41:24 root Exp $ */ +/* $Id: uifcx.c,v 1.1.1.2 2018/04/24 16:45:50 root Exp $ */ /**************************************************************************** * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * * * - * Copyright 2005 Rob Swindell - http://www.synchro.net/copyright.html * + * Copyright 2010 Rob Swindell - http://www.synchro.net/copyright.html * * * * This library is free software; you can redistribute it and/or * * modify it under the terms of the GNU Lesser General Public License * @@ -375,6 +375,16 @@ void sethelp(int line, char* file) helpfile=file; } +static void uputs(char* ptr) +{ + while(*ptr) { + if(*ptr>2) + putchar(*ptr); + ptr++; + } + putchar('\n'); +} + /****************************************************************************/ /* Help function. */ /****************************************************************************/ @@ -429,7 +439,7 @@ void help() else strcpy(hbuf,api->helpbuf); - puts(hbuf); + uputs(hbuf); if(strlen(hbuf)>200) { printf("Hit enter"); getstr(str,sizeof(str)-1);