1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-18 20:10:29 +01:00

Fix usage of float constant reported by gcc

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
Christophe CURIS
2021-05-13 17:28:02 +02:00
committed by Carlos R. Mafra
parent fc63d72032
commit 8aecba27d1

View File

@@ -399,7 +399,7 @@ WSwitchPanel *wInitSwitchPanel(WScreen *scr, WWindow *curwin, Bool class_only)
WMGetScaleBaseFromSystemFont(scr->wmscreen, &wmScaleWidth, &wmScaleHeight);
icon_size = wPreferences.switch_panel_icon_size;
icon_tile_size = (short int)(((float)icon_size * (float)1.2) + 0.5);
icon_tile_size = (short int)(((float)icon_size * 1.2F) + 0.5F);
border_space = WMScaleY(10);
label_height = WMScaleY(25);