[Commits] [SCM] claws branch, master, updated. 3.17.0-119-g891319d

ticho at claws-mail.org ticho at claws-mail.org
Tue Oct 16 18:15:38 CEST 2018


The branch, master has been updated
       via  891319d4702d0a77dcf77f3ac5b33752bdc8e56b (commit)
      from  03a348a540005b70755c30b0eac482977ab03b52 (commit)

Summary of changes:
 src/summaryview.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 891319d4702d0a77dcf77f3ac5b33752bdc8e56b
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Tue Oct 16 18:12:05 2018 +0200

    Fix an off-by-one error in summary_key_pressed().

diff --git a/src/summaryview.c b/src/summaryview.c
index 4be1f61..56f6062 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -6992,7 +6992,7 @@ static gboolean summary_key_pressed(GtkWidget *widget, GdkEventKey *event,
 					break;
 				case GDK_KEY_Down: case GDK_KEY_KP_Down:
 					next = gtk_cmctree_node_nth(ctree,
-							MIN(GTK_CMCLIST(ctree)->focus_row + 1, GTK_CMCLIST(ctree)->rows));
+							MIN(GTK_CMCLIST(ctree)->focus_row + 1, GTK_CMCLIST(ctree)->rows - 1));
 					break;
 				case GDK_KEY_Page_Up: case GDK_KEY_KP_Page_Up:
 					next = gtk_cmctree_node_nth(ctree,

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list