cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1779 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
32e3b88e09
commit
9d325a03d9
|
@ -74,8 +74,8 @@ void not_found_msg(const char *str)
|
||||||
int numchars = actual_x(str, COLS / 2);
|
int numchars = actual_x(str, COLS / 2);
|
||||||
|
|
||||||
assert(str != NULL);
|
assert(str != NULL);
|
||||||
statusbar(_("\"%.*s%s\" not found"), numchars, str, str[numchars] ==
|
statusbar(_("\"%.*s%s\" not found"), numchars, str,
|
||||||
'\0' ? "" : "...");
|
str[numchars] == '\0' ? "" : "...");
|
||||||
}
|
}
|
||||||
|
|
||||||
void search_abort(void)
|
void search_abort(void)
|
||||||
|
|
|
@ -2659,7 +2659,7 @@ void edit_refresh(void)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
while (nlines < editwinrows) {
|
while (nlines < editwinrows) {
|
||||||
update_line(foo, (foo == current) ? current_x : 0);
|
update_line(foo, foo == current ? current_x : 0);
|
||||||
nlines++;
|
nlines++;
|
||||||
if (foo->next == NULL)
|
if (foo->next == NULL)
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue