diff --git a/src/uifc/uifcfltk.cpp b/src/uifc/uifcfltk.cpp index af7a3adc077adad23d3a5704752762ebce5543fe..f252070ad7dc98ce051467a586f30e87181e4695 100644 --- a/src/uifc/uifcfltk.cpp +++ b/src/uifc/uifcfltk.cpp @@ -1268,7 +1268,7 @@ void help() " %s",p,helpline,api->helpixbfile); else { if((fp=fopen(api->helpdatfile,"rb"))==NULL) - sprintf(hbuf," ERROR Cannot open help file:\r\n %s" + sprintf(hbuf," ERROR Cannot open help file:\n %s" ,api->helpdatfile); else { fseek(fp,l,SEEK_SET); @@ -1321,6 +1321,8 @@ void help() HelpWin->show(); for(j=0;j<len;j++) { + if(hbuf[j]=='\r') /* don't display <cr> */ + continue; if(hbuf[j]==2 || hbuf[j]=='~') { /* Ctrl-b toggles inverse */ if(inverse) inverse=0;