Commit 9d325a03 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

cosmetic fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1779 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 32e3b88e
Showing with 3 additions and 3 deletions
+3 -3
...@@ -74,8 +74,8 @@ void not_found_msg(const char *str) ...@@ -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) ...@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment