Don't assume that MEASURE_* and ALIGN_* have the same values found in
[pspp] / src / ui / gui / var-sheet.c
index 2c3137adb6d1212aa5667ce82ed25ed4dbfbb737..b65c6e89ddf8cd0482091d97444588ff56132928 100644 (file)
@@ -1,7 +1,6 @@
 /* 
    PSPPIRE --- A Graphical User Interface for PSPP
    Copyright (C) 2004, 2005, 2006  Free Software Foundation
-   Written by John Darrington
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -161,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);
 }