diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-28 17:26:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-28 20:29:17 +0300 |
commit | 8f75c0c717e3f9920278c5acc725eb3fa1a43df5 (patch) | |
tree | 1a7bd0a916a97bf448bb9129d7c5eea671e4ce91 /src/gui/sdlfont.cpp | |
parent | 45d9715a4657a7369c394c2ca114847056a12a7c (diff) | |
download | manaplus-8f75c0c717e3f9920278c5acc725eb3fa1a43df5.tar.gz manaplus-8f75c0c717e3f9920278c5acc725eb3fa1a43df5.tar.bz2 manaplus-8f75c0c717e3f9920278c5acc725eb3fa1a43df5.tar.xz manaplus-8f75c0c717e3f9920278c5acc725eb3fa1a43df5.zip |
fix code style.
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 d0e1fc043..ed9cb4701 100644 --- a/src/gui/sdlfont.cpp +++ b/src/gui/sdlfont.cpp @@ -433,7 +433,7 @@ void SDLFont::drawString(gcn::Graphics *const graphics, return; gcn::Color col = g->getColor(); - const gcn::Color col2 = g->getColor2(); + const gcn::Color &col2 = g->getColor2(); const float alpha = static_cast<float>(col.a) / 255.0f; /* The alpha value is ignored at string generation so avoid caching the |