the old assert is actually needed, so put it back too
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2958 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
04f65f2e17
commit
eab0fd808c
|
@ -273,8 +273,6 @@ CVS code -
|
||||||
that there's more room for other things, and to not display
|
that there's more room for other things, and to not display
|
||||||
the status when we're in the file browser, since Pico doesn't.
|
the status when we're in the file browser, since Pico doesn't.
|
||||||
(DLR)
|
(DLR)
|
||||||
do_cursorpos()
|
|
||||||
- Remove unneeded assert. (DLR)
|
|
||||||
- configure.ac:
|
- configure.ac:
|
||||||
- Since we only use vsnprintf() now, remove the tests for
|
- Since we only use vsnprintf() now, remove the tests for
|
||||||
snprintf(). (DLR)
|
snprintf(). (DLR)
|
||||||
|
|
|
@ -3844,7 +3844,7 @@ void do_cursorpos(bool constant)
|
||||||
|
|
||||||
/* Check whether totsize is correct. If it isn't, there is a bug
|
/* Check whether totsize is correct. If it isn't, there is a bug
|
||||||
* somewhere. */
|
* somewhere. */
|
||||||
assert(i == openfile->totsize);
|
assert(openfile->current != openfile->filebot || i == totsize);
|
||||||
|
|
||||||
if (constant && disable_cursorpos) {
|
if (constant && disable_cursorpos) {
|
||||||
disable_cursorpos = FALSE;
|
disable_cursorpos = FALSE;
|
||||||
|
|
Loading…
Reference in New Issue