[Freeciv-Dev] (PR#3506) compile errors in gui-win32
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
The recent patch I wrote (applied by Raimar) broke gui-win32. This
patch fixes it.
jason
Index: client/gui-win32/mapview.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-win32/mapview.c,v
retrieving revision 1.59
diff -u -r1.59 mapview.c
--- client/gui-win32/mapview.c 2003/02/22 13:15:30 1.59
+++ client/gui-win32/mapview.c 2003/02/23 01:38:48
@@ -26,6 +26,7 @@
#include "log.h"
#include "government.h" /* government_graphic() */
#include "map.h"
+#include "mem.h"
#include "player.h"
#include "rand.h"
#include "support.h"
@@ -1377,7 +1378,7 @@
/* FIXME: we don't want to have to recreate the hdc each time! */
hdc = CreateCompatibleDC(pcanvas_store->hdc);
- old = SelectObject(hdc, panvas_store->bitmap);
+ old = SelectObject(hdc, pcanvas_store->bitmap);
pixmap_put_overlay_tile_draw(hdc, canvas_x, canvas_y,
sprite, offset_x, offset_y,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#3506) compile errors in gui-win32,
Jason Short <=
|
|