]> git.mxchange.org Git - simgear.git/blobdiff - PUI/puButtonBox.cxx
Added an FG_SERIAL type to the FG_LOG macro.
[simgear.git] / PUI / puButtonBox.cxx
index 4969c831172e95306a968ea293224c762610d8ad..f569ed78718f9309be9100978475a688bfebd5be 100644 (file)
@@ -88,7 +88,7 @@ void puButtonBox::draw ( int dx, int dy )
       glColor4f ( colour [ PUCOL_LEGEND ][0],
                   colour [ PUCOL_LEGEND ][1],
                   colour [ PUCOL_LEGEND ][2],
-                  colour [ PUCOL_LEGEND ][3] / 2.0 ) ; /* 50% more transparent */
+                  colour [ PUCOL_LEGEND ][3] / 2.0f ) ; /* 50% more transparent */
 
     puDrawString ( legendFont, button_labels[i],
                    dx + tbox.min[0] + PU_RADIO_BUTTON_SIZE + PUSTR_LGAP,