Author: talvo@talvo.com
<talvo@talvo.com@
ba372814-4f39-11de-9ad6-
1127a62b9fcd>
Date: Tue Nov 24 23:50:39 2009 +0000
Issue 7, align() strips too many spaces when wrapping
Fixes #142
}
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);
}