diff options
Diffstat (limited to 'src/gui/sdlfont.cpp')
-rw-r--r-- | src/gui/sdlfont.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/sdlfont.cpp b/src/gui/sdlfont.cpp index 65ba14fc6..01e2c568f 100644 --- a/src/gui/sdlfont.cpp +++ b/src/gui/sdlfont.cpp @@ -461,7 +461,7 @@ void SDLFont::drawString(gcn::Graphics *const graphics, gcn::Color col = g->getColor(); const gcn::Color &col2 = g->getColor2(); - const float alpha = static_cast<float>(col.a) / 255.0f; + const float alpha = static_cast<float>(col.a) / 255.0F; /* The alpha value is ignored at string generation so avoid caching the * same text with different alpha values. |