Don't assume that MEASURE_* and ALIGN_* have the same values found in
[pspp-builds.git] / src / ui / gui / var-sheet.c
index f7797fad9f2c1850ae24fc7f7c0663c3349d7382..b65c6e89ddf8cd0482091d97444588ff56132928 100644 (file)
@@ -160,7 +160,7 @@ change_measure(GtkComboBox *cb,
 
   if ( active_item < 0 ) return ;
 
-  var_set_measure (pv, active_item + 1);
+  var_set_measure (pv, active_item);
 }