shithub: puzzles

Download patch

ref: cd76bfb25f68bb320587bf85a059ee83c3d05239
parent: c136c3dde99963500ecee6b9b36d2a1498b344f5
author: Simon Tatham <anakin@pobox.com>
date: Sun Aug 21 06:55:17 EDT 2005

*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]

--- a/osx.m
+++ b/osx.m
@@ -524,7 +524,7 @@
 
     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_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 @@
     osx_draw_text,
     osx_draw_rect,
     osx_draw_line,
-    osx_draw_poly,
+    osx_draw_polygon,
     osx_draw_circle,
     osx_draw_update,
     osx_clip,