summaryrefslogtreecommitdiffstats
path: root/hacks/polyominoes.c
diff options
context:
space:
mode:
Diffstat (limited to 'hacks/polyominoes.c')
-rw-r--r--hacks/polyominoes.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/hacks/polyominoes.c b/hacks/polyominoes.c
index b87c3d3..0ae5366 100644
--- a/hacks/polyominoes.c
+++ b/hacks/polyominoes.c
@@ -55,9 +55,6 @@ static const char sccsid[] = "@(#)polyominoes.c 5.01 2000/12/18 xlockmore";
static Bool identical;
static Bool plain;
-#undef countof
-#define countof(x) (sizeof((x))/sizeof((*x)))
-
static XrmOptionDescRec opts[] =
{
{"-identical", ".polyominoes.identical", XrmoptionNoArg, "on"},
@@ -975,6 +972,10 @@ static void create_bitmaps(ModeInfo * mi, polyominoesstruct *sp)
}
sp->use_bitmaps = 1;
+
+#ifdef HAVE_ANDROID /* Doesn't work -- displays black */
+ sp->use_bitmaps = 0;
+#endif
}
static void draw_with_bitmaps(ModeInfo * mi, polyominoesstruct *sp)