Commit 727cdae7 authored by Committed by Owen Taylor
Fix conversion from float to int so that we don't get skew in the int =>
Sun Aug 5 11:24:27 2001 Owen Taylor <firstname.lastname@example.org> * gtk/gtkcolorsel.c (gtk_color_selection_set_current_alpha): Fix conversion from float to int so that we don't get skew in the int => float => int roundtrip. (#58120, reported by Vitaly Tishkov). Also fix problem where if no alpha was set, the returned alpha from (say) set_current_alpha() was returned as 1, not 65535.
Showing with 217 additions and 35 deletions