consistency. (DLR)
- Rename NANO_ALT_.* and NANO_.*ALTKEY to NANO_META_.* and
NANO_.*METAKEY, for consistency. (DLR)
+- winio.c:
+ edit_draw()
+ - Fix potential warnings when assigning -1 to paintlen by using
+ if/else clauses instead of "?" operators. (DLR)
- BUGS:
- Miscellaneous cosmetic fixes. (DLR)
* expanded location of the end of the match minus
* the expanded location of the beginning of the
* page. */
- paintlen = (end_line != fileptr) ? -1 :
- actual_x(converted, strnlenpt(fileptr->data,
- endmatch.rm_eo) - start);
+ if (end_line != fileptr)
+ paintlen = -1;
+ else
+ paintlen = actual_x(converted,
+ strnlenpt(fileptr->data,
+ endmatch.rm_eo) - start);
mvwaddnstr(edit, line, 0, converted, paintlen);
* Otherwise, paintlen is the expanded location of the end
* of the mark minus the expanded location of the beginning
* of the mark. */
- paintlen = (bot_x >= endpos) ? -1 : strnlenpt(fileptr->data,
- bot_x) - (x_start + start);
+ if (bot_x >= endpos)
+ paintlen = -1;
+ else
+ paintlen = strnlenpt(fileptr->data, bot_x) - (x_start +
+ start);
/* If x_start is before the beginning of the page, shift
* paintlen x_start characters to compensate, and put