Commit 744e9791 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

fix breakage

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3068 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 143b8c7b
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -602,7 +602,7 @@ void nanoget_repaint(const char *buf, size_t x)
size_t start_col, xpt, page_start;
char *expanded;
assert(prompt != NULL && x <= strlen(buf);
assert(prompt != NULL && x <= strlen(buf));
start_col = strlenpt(prompt) + 1;
xpt = strnlenpt(buf, x);
......@@ -828,7 +828,7 @@ int statusq(bool allow_tabs, const shortcut *s, const char *curranswer,
assert(prompt == NULL);
prompt = charalloc(prompt, ((COLS - 4) * mb_cur_max()) + 1);
prompt = charalloc(((COLS - 4) * mb_cur_max()) + 1);
bottombars(s);
......
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