the proper variable, so that nano builds with DEBUG defined again
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2422
35c25a1d-7b9e-4130-9fde-
d3aeb78583b8
- After (re)initializing the terminal, make sure the cursor is
always turned on. Changes to do_alt_speller(),
handle_sigwinch(), and main(). (DLR)
+- chars.c:
+ move_mbleft()
+ - Fix assert to reference the proper variable, so that nano
+ builds with DEBUG defined again. (Mike Frysinger, found by
+ Dmitri Vassilenko)
- files.c:
do_browser()
- Rename variable lineno to fileline to avoid confusion. (DLR)
{
size_t pos_prev = pos;
- assert(str != NULL && pos <= strlen(buf));
+ assert(buf != NULL && pos <= strlen(buf));
/* There is no library function to move backward one multibyte
* character. Here is the naive, O(pos) way to do it. */