The following commit has been merged in the master branch:
commit 20b30fa8862fce6b590e5becf77466fd9a3b3400
Author: Andrei Zavada <[email protected]>
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
_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit