From 8f01eab5ab97c498fd308c091ad9c555b2f67b56 Mon Sep 17 00:00:00 2001 From: Filip Gawin Date: Tue, 25 Feb 2020 20:01:56 +0100 Subject: Fixes for Serge's review --- src/render/Font.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/render/Font.cpp') diff --git a/src/render/Font.cpp b/src/render/Font.cpp index 2d059516..7a16ad03 100644 --- a/src/render/Font.cpp +++ b/src/render/Font.cpp @@ -84,7 +84,7 @@ CFont::Initialise(void) Sprite[2].SetTexture("font1", "font1_mask"); SetScale(1.0f, 1.0f); SetSlantRefPoint(SCREEN_WIDTH, 0.0f); - SetSlant(0.0); + SetSlant(0.0f); SetColor(CRGBA(0xFF, 0xFF, 0xFF, 0)); SetJustifyOff(); SetCentreOff(); @@ -95,7 +95,7 @@ CFont::Initialise(void) SetBackGroundOnlyTextOff(); SetPropOn(); SetFontStyle(0); - SetRightJustifyWrap(0.0); + SetRightJustifyWrap(0.0f); SetAlphaFade(255.0f); SetDropShadowPosition(0); CTxdStore::PopCurrentTxd(); -- cgit v1.2.3