From 8f75c0c717e3f9920278c5acc725eb3fa1a43df5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 28 May 2013 17:26:00 +0300 Subject: fix code style. --- src/gui/sdlfont.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/sdlfont.cpp') 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(col.a) / 255.0f; /* The alpha value is ignored at string generation so avoid caching the -- cgit v1.2.3-60-g2f50