Merge branch 'NetHack-3.6'

This commit is contained in:
nhmall
2019-06-22 22:03:07 -04:00
4 changed files with 119 additions and 97 deletions

View File

@@ -2994,9 +2994,9 @@ boolean FDECL((*proc), (char *));
*ep = '\0';
/* trim off spaces at end of line */
while (--ep >= inbuf
while (ep >= inbuf
&& (*ep == ' ' || *ep == '\t' || *ep == '\r'))
*ep = '\0';
*ep-- = '\0';
if (!config_error_nextline(inbuf)) {
rv = FALSE;