Update of /cvsroot/netrek/client/netrekxp/src
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv4789/src
Modified Files:
mswindow.c
Log Message:
New ori GA color1 bitmaps
Index: mswindow.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/mswindow.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- mswindow.c 12 May 2006 20:51:31 -0000 1.18
+++ mswindow.c 13 May 2006 03:37:36 -0000 1.19
@@ -1375,7 +1375,7 @@
win->BorderColor = color;
- hdc = GetDC (win->hwnd); //Turn off boder clipping
+ hdc = GetDC (win->hwnd); //Turn off border clipping
if (NetrekPalette)
{
SelectPalette (hdc, NetrekPalette, FALSE);
@@ -5755,10 +5755,11 @@
r.bottom = min (y + ext.cy, win->ClipRect.bottom);
if (r.bottom < r.top)
return; //Vertical extents do not overlap
-
+
ExtTextOut (sdb->mem_dc, x, y, ETO_CLIPPED | ETO_OPAQUE, &r, str, len, NULL);
break;
+
default:
LineToConsole ("Unknown window type in W_WriteText");
}