diff --git a/ChangeLog b/ChangeLog index b3f3e1e6d48145a4867a048440c7e7a26ab21723..d41657eeaa2e58e2b46d1f72f35b85cc6a5ee045 100644 --- a/ChangeLog +++ b/ChangeLog @@ -273,8 +273,6 @@ CVS code - 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. (DLR) - do_cursorpos() - - Remove unneeded assert. (DLR) - configure.ac: - Since we only use vsnprintf() now, remove the tests for snprintf(). (DLR) diff --git a/src/winio.c b/src/winio.c index 236e5f2a0126010c9753c0fc5e9219988bd293bc..becae91cd4253bbbaf8a2217ea37b469c9c0f841 100644 --- a/src/winio.c +++ b/src/winio.c @@ -3844,7 +3844,7 @@ void do_cursorpos(bool constant) /* Check whether totsize is correct. If it isn't, there is a bug * somewhere. */ - assert(i == openfile->totsize); + assert(openfile->current != openfile->filebot || i == totsize); if (constant && disable_cursorpos) { disable_cursorpos = FALSE;