aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-08-21 10:55:17 +0000
committerSimon Tatham <anakin@pobox.com>2005-08-21 10:55:17 +0000
commitcd76bfb25f68bb320587bf85a059ee83c3d05239 (patch)
treeb575f796fdba55a25fa2dafd030891f38259c086
parentc136c3dde99963500ecee6b9b36d2a1498b344f5 (diff)
downloadpuzzles-cd76bfb25f68bb320587bf85a059ee83c3d05239.zip
puzzles-cd76bfb25f68bb320587bf85a059ee83c3d05239.tar.gz
puzzles-cd76bfb25f68bb320587bf85a059ee83c3d05239.tar.bz2
puzzles-cd76bfb25f68bb320587bf85a059ee83c3d05239.tar.xz
*blinks* I apparently didn't try _building_ the OS X port since the
printing upheaval. I could have sworn I had. Oh well; small errors fixed. [originally from svn r6197]
-rw-r--r--osx.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/osx.m b/osx.m
index e7da743..101dfe4 100644
--- a/osx.m
+++ b/osx.m
@@ -524,7 +524,7 @@ struct frontend {
fe.window = self;
- me = midend_new(&fe, ourgame, osx_drawing, &fe);
+ me = midend_new(&fe, ourgame, &osx_drawing, &fe);
/*
* If we ever need to open a fresh window using a provided game
* ID, I think the right thing is to move most of this method
@@ -1379,7 +1379,7 @@ static void osx_blitter_save(void *handle, blitter *bl, int x, int y)
}
static void osx_blitter_load(void *handle, blitter *bl, int x, int y)
{
- frontend *fe = (frontend *)handle;
+ /* frontend *fe = (frontend *)handle; */
if (x == BLITTER_FROMSAVED && y == BLITTER_FROMSAVED) {
x = bl->x;
y = bl->y;
@@ -1431,7 +1431,7 @@ const struct drawing_api osx_drawing = {
osx_draw_text,
osx_draw_rect,
osx_draw_line,
- osx_draw_poly,
+ osx_draw_polygon,
osx_draw_circle,
osx_draw_update,
osx_clip,