From 7319759e4464994bbcbfbbe995759eb4a214e5e6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 28 Oct 2012 20:33:21 +0300 Subject: Fix in internal guichan drawing horisonal lines in some systems. --- src/guichan/sdl/sdlgraphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/guichan/sdl/sdlgraphics.cpp') diff --git a/src/guichan/sdl/sdlgraphics.cpp b/src/guichan/sdl/sdlgraphics.cpp index 482642e30..eae2bb035 100644 --- a/src/guichan/sdl/sdlgraphics.cpp +++ b/src/guichan/sdl/sdlgraphics.cpp @@ -227,7 +227,7 @@ namespace gcn { uint16_t* q = reinterpret_cast(p); for (; x1 <= x2; ++x1) - *(q++) = static_cast(pixel); + *(q++) = pixel; break; } -- cgit v1.2.3-70-g09d2