--- cssed_orig/cssed-0.4.0/src/cssdialogs-functions.c 2005-11-01 13:46:34.000000000 +0200 +++ cssed/cssed-0.4.0/src/cssdialogs-functions.c 2007-01-05 20:30:45.000000000 +0200 @@ -1991,8 +1991,8 @@ combo_entry_left = lookup_widget(parent,"combo_entry_left"); strleft_unit = gtk_editable_get_chars(GTK_EDITABLE(combo_entry_left),0,-1); - if( strcmp(strbottom_unit, "em") == 0 || - strcmp(strbottom_unit, "in") == 0 ) + if( strcmp(strleft_unit, "em") == 0 || + strcmp(strleft_unit, "in") == 0 ) { fleft = (gfloat) gtk_spin_button_get_value_as_float(GTK_SPIN_BUTTON(spinbutton_left)); strleft = g_strdup_printf("%0.2f%s ", fleft, strleft_unit);