X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fvar-sheet.c;h=b65c6e89ddf8cd0482091d97444588ff56132928;hb=4f2f805c653f0dc901924944ea4c55309ff14d32;hp=f7797fad9f2c1850ae24fc7f7c0663c3349d7382;hpb=73ef58a437ef6640a7813b4f898b1a57e0ec95ea;p=pspp-builds.git diff --git a/src/ui/gui/var-sheet.c b/src/ui/gui/var-sheet.c index f7797fad..b65c6e89 100644 --- a/src/ui/gui/var-sheet.c +++ b/src/ui/gui/var-sheet.c @@ -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); }