- Add regfree() to quote regex (David Benbennick).
- Only copy previous indent if AUTOINDENT is set (David
Benbennick).
+ do_wrap()
+ - Fix isspace() call to operate on int.
help_init()
- Fix crashing in do_help when COLS < 23 (David Benbennick).
main()
* between after_break and wrap_line. If the line already ends
* in a tab or a space, we don't add a space and decrement
* totsize to account for that. */
- if (!isspace(newline[strlen(newline) - 1]))
+ if (!isspace((int) newline[strlen(newline) - 1]))
strcat(newline, " ");
else
totsize--;