Author: mordante
Date: Mon Nov 17 19:22:35 2008
New Revision: 30790

URL: http://svn.gna.org/viewcvs/wesnoth?rev=30790&view=rev
Log:
properly ifdef a Windows specific part.

Modified:
    trunk/src/text.cpp

Modified: trunk/src/text.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/text.cpp?rev=30790&r1=30789&r2=30790&view=diff
==============================================================================
--- trunk/src/text.cpp (original)
+++ trunk/src/text.cpp Mon Nov 17 19:22:35 2008
@@ -469,9 +469,10 @@
                // Draw twice otherwise we have some problems due to 
transparency
                // we overcome the problem with drawing twice which is a kind 
of hack.
                pango_cairo_show_layout(cr, layout_);
+#ifdef _WIN32          
                // On Windows drawing twice is not enough.
                pango_cairo_show_layout(cr, layout_);
-
+#endif
                surface_.assign(SDL_CreateRGBSurfaceFrom(
                        surface_buffer_, width, height, 32, stride, 
                        0x00FF0000, 0x0000FF00, 0x000000FF, 0xFF000000));


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to