blob: 300e528c9ef79c4a587827c39b1d618799c4097e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- src/menu.c.old 2010-05-24 12:35:15.000000000 +0200
+++ src/menu.c 2010-05-24 12:35:48.000000000 +0200
@@ -176,7 +176,7 @@
{
#if GTK_MAJOR_VERSION == 2
// FIXME: can't get existing bgcolor
- const int size = 20;
+#define size 20
static char pixbufs [7][size*(size+1)];
char **pixmap_data;
static GdkPixmap *pixmaps[7];
--- src/wordtris.c.old 2010-05-24 12:36:50.000000000 +0200
+++ src/wordtris.c 2010-05-24 12:38:30.000000000 +0200
@@ -122,7 +122,7 @@
// TODO: change this so that we only need to specify pixmaps for individual squares
-static const int lava_xpm_header_size = 253+1;
+#define lava_xpm_header_size 253+1
static char * lava_xpm_header[] =
{
"144 504 253 2",
|