+2014-06-10 David Lawrence Ramsey <pooka109@gmail.com>
+ * src/winio.c: One more type fix and two tiny message tweaks.
+
2014-06-09 David Lawrence Ramsey <pooka109@gmail.com>
* src/*.c: Cosmetic tweaks of comments and whitespace.
* src/help.c, src/rcfile.c, src/winio.c: Elide a function call by
mvwaddch(edit, line, COLS - 1, '$');
#ifndef NANO_TINY
} else {
- int full_length = strlenpt(fileptr->data);
+ size_t full_length = strlenpt(fileptr->data);
for (index += COLS; index <= full_length && line < editwinrows; index += COLS) {
line++;
#ifdef DEBUG
- fprintf(stderr, "update_line(): Softwrap code, moving to %d index %lu\n", line, (unsigned long)index);
+ fprintf(stderr, "update_line(): softwrap code, moving to %d index %lu\n", line, (unsigned long)index);
#endif
blank_line(edit, line, 0, COLS);
}
openfile->edittop = foo;
#ifdef DEBUG
- fprintf(stderr, "edit_update(), setting edittop to lineno %ld\n", (long)openfile->edittop->lineno);
+ fprintf(stderr, "edit_update(): setting edittop to lineno %ld\n", (long)openfile->edittop->lineno);
#endif
compute_maxrows();
edit_refresh_needed = TRUE;