/pidgin/main: 1d1db6f421f9: Finch: fix broken window switching

Tomasz Wasilczyk twasilczyk at pidgin.im
Tue Apr 22 19:55:50 EDT 2014


Changeset: 1d1db6f421f9021e1ae6fc872624bdf4877cee2f
Author:	 Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date:	 2014-04-23 01:55 +0200
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/1d1db6f421f9

Description:

Finch: fix broken window switching

diffstat:

 finch/libgnt/gntwm.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/finch/libgnt/gntwm.c b/finch/libgnt/gntwm.c
--- a/finch/libgnt/gntwm.c
+++ b/finch/libgnt/gntwm.c
@@ -427,7 +427,7 @@ switch_window(GntWM *wm, int direction, 
 
 	w = wm->cws->ordered->data;
 	orgpos = pos = g_list_index(wm->cws->list, w);
-	g_return_if_fail(pos < 0);
+	g_return_if_fail(pos >= 0);
 
 	do {
 		pos += direction;



More information about the Commits mailing list