* src/text.c: And elide a totally unused 'strdata2'.
* src/text.c: Rename the undo type UNSPLIT to JOIN, for clarity.
* src/global.c, src/rcfile.c: Rename function_type to key_type.
+ * src/text.c (break_line): Remove a condition and a break that
+ cancel each other.
2014-06-18 Mark Majeres <mark@engine12.com>
* src/text.c (add_undo): Don't start a new undo for CUT when the
#ifdef DEBUG
fprintf(stderr, "Done in update_undo (type was %d)\n", action);
#endif
-
- }
-
+}
#endif /* !NANO_TINY */
#ifndef DISABLE_WRAPPING
char_len = parse_mbchar(line, NULL, NULL);
line += char_len;
- while (*line != '\0' && (is_blank_mbchar(line)
-#ifndef DISABLE_HELP
- || (newln && *line == '\n')
-#endif
- )) {
-#ifndef DISABLE_HELP
- if (newln && *line == '\n')
- break;
-#endif
-
+ while (*line != '\0' && is_blank_mbchar(line)) {
char_len = parse_mbchar(line, NULL, NULL);
line += char_len;