changeset 14958:c9c1ce4a70b6

[gaim-migrate @ 17737] Fix the 'scroll when no place to go' bug. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 11 Nov 2006 18:23:57 +0000
parents 6dbff723fabc
children 0c80979077cf
files console/libgnt/gntwm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/console/libgnt/gntwm.c	Sat Nov 11 00:59:11 2006 +0000
+++ b/console/libgnt/gntwm.c	Sat Nov 11 18:23:57 2006 +0000
@@ -1015,8 +1015,8 @@
 		if (strcmp(keys, "\r") == 0 || strcmp(keys, "\033") == 0) {
 			window_reverse(widget, FALSE);
 			wm->mode = GNT_KP_MODE_NORMAL;
-			return;
 		}
+		return;
 	}
 
 	wm->event_stack = TRUE;