• Owen Taylor's avatar
    Fix conversion from float to int so that we don't get skew in the int => · 727cdae7
    Owen Taylor authored
    Sun Aug  5 11:24:27 2001  Owen Taylor  <otaylor@redhat.com>
    
    	* 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.
    727cdae7
To find the state of this project's repository at the time of any of these versions, check out the tags.
ChangeLog 631 KB