[med-svn] [SCM] aghermann branch, master, updated. 551e213a23b59b71cba6a9c3a282d1b60e21b854
Andrei Zavada
johnhommer at gmail.com
Sun Apr 21 23:18:18 UTC 2013
The following commit has been merged in the master branch:
commit 20b30fa8862fce6b590e5becf77466fd9a3b3400
Author: Andrei Zavada <johnhommer at gmail.com>
Date: Mon Apr 22 01:23:46 2013 +0300
fix ccw cycling of mw combos via F1-3
diff --git a/src/ui/mw/mw_cb.cc b/src/ui/mw/mw_cb.cc
index 8fb941a..2100ea4 100644
--- a/src/ui/mw/mw_cb.cc
+++ b/src/ui/mw/mw_cb.cc
@@ -58,7 +58,7 @@ inline void
cycle_combo( GtkComboBox* c, int n, int by)
{
gtk_combo_box_set_active(
- c, (gtk_combo_box_get_active( c) + by) % n);
+ c, (gtk_combo_box_get_active( c) + n + by) % n);
}
}
--
Sleep experiment manager
More information about the debian-med-commit
mailing list