Author: anonymissimus
Date: Sat May 28 14:18:12 2011
New Revision: 49684
URL: http://svn.gna.org/viewcvs/wesnoth?rev=49684&view=rev
Log:
guarded font::decode_pixel by #ifndef _Win32
to remove a warning on windows
Modified:
trunk/src/text.cpp
Modified: trunk/src/text.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/text.cpp?rev=49684&r1=49683&r2=49684&view=diff
==============================================================================
--- trunk/src/text.cpp (original)
+++ trunk/src/text.cpp Sat May 28 14:18:12 2011
@@ -561,6 +561,8 @@
static decode_table decode_table;
+
+#ifndef _WIN32
/**
* Converts from premultiplied alpha to plain alpha.
* @param p pointer to a 4-byte endian-dependent color.
@@ -593,6 +595,8 @@
DECODE(1);
DECODE(2);
}
+#endif
+
void ttext::rerender(const bool force) const
{
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits