summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-28 20:33:21 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-28 23:13:01 +0300
commit7319759e4464994bbcbfbbe995759eb4a214e5e6 (patch)
treec6defd441ae0ea3d9d6e871de75e7387b49ae93a
parentc854f8a7972291060970f3c4bb88178bf77df4ea (diff)
downloadmanaplus-7319759e4464994bbcbfbbe995759eb4a214e5e6.tar.gz
manaplus-7319759e4464994bbcbfbbe995759eb4a214e5e6.tar.bz2
manaplus-7319759e4464994bbcbfbbe995759eb4a214e5e6.tar.xz
manaplus-7319759e4464994bbcbfbbe995759eb4a214e5e6.zip
Fix in internal guichan drawing horisonal lines in some systems.
-rw-r--r--src/guichan/sdl/sdlgraphics.cpp2
1 files changed, 1 insertions, 1 deletions
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<uint16_t*>(p);
for (; x1 <= x2; ++x1)
- *(q++) = static_cast<uint8_t>(pixel);
+ *(q++) = pixel;
break;
}