From d399eed1e0b9e0af1919d8d4b5b6c9a670f5afd8 Mon Sep 17 00:00:00 2001 From: Rick L Bird Date: Thu, 5 May 2011 20:38:48 -0400 Subject: [PATCH] PennMUSH 1.8.3p11 Author: talvo@talvo.com Date: Tue Nov 24 23:50:39 2009 +0000 Issue 7, align() strips too many spaces when wrapping Fixes #142 --- src/funstr.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/funstr.c b/src/funstr.c index 713f9b2..bf5b29b 100644 --- a/src/funstr.c +++ b/src/funstr.c @@ -1793,9 +1793,6 @@ align_one_line(char *buff, char **bp, int ncols, } ptrs[i] = ptr; } else if (*ptr == '\n') { - for (tptr = ptr; - *tptr && tptr >= ptrs[i] && isspace((unsigned char) *tptr); tptr--) ; - len = (tptr - ptrs[i]) + 1; if (len > 0) { safe_ansi_string(as[i], ptrs[i] - (as[i]->text), len, segment, &sp); } -- 2.30.2