It's an off-by-one here:
--- button.c 2009/10/01 09:06:20 1.355
+++ button.c 2009/10/10 23:37:27
@@ -1,4 +1,4 @@
-/* $XTermId: button.c,v 1.355 2009/10/01 09:06:20 tom Exp $ */
+/* $XTermId: button.c,v 1.356 2009/10/10 23:37:27 tom Exp $ */
/*
* Copyright 1999-2008,2009 by Thomas E. Dickey
@@ -2626,7 +2626,7 @@
{
Boolean result = True;
- if (cell->row >= screen->max_row) {
+ if (cell->row > screen->max_row) {
result = False;
} else if (cell->col > (LastTextCol(screen, *ld, cell->row) + 1)) {
cell->col = 0;
(I added the check in #249 since valgrind pointed to a problem in that code)
--
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
Attachment:
signature.asc
Description: Digital signature