summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2008-11-21 15:48:30 +0000
committerBjörn Stenberg <bjorn@haxx.se>2008-11-21 15:48:30 +0000
commit066f0112f7e565a688f52a3984ec3a32d937fe12 (patch)
treee5f11f71b320b2ab50b63a646684433278c99fbf
parent7f00ad0a52ce321d2f8110944167cd3c2bcb7b81 (diff)
downloadrockbox-066f0112f7e565a688f52a3984ec3a32d937fe12.tar.gz
rockbox-066f0112f7e565a688f52a3984ec3a32d937fe12.zip
Added dummy numbers to avoid #error during dependency generation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19173 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/pegbox.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/pegbox.c b/apps/plugins/pegbox.c
index 643e793fdc..b6221448fb 100644
--- a/apps/plugins/pegbox.c
+++ b/apps/plugins/pegbox.c
@@ -334,8 +334,14 @@ PLUGIN_HEADER
334 334
335 335
336/* get several sizes from the bitmaps */ 336/* get several sizes from the bitmaps */
337#ifdef BMPWIDTH_pegbox_pieces
337#define PIECE_WIDTH BMPWIDTH_pegbox_pieces 338#define PIECE_WIDTH BMPWIDTH_pegbox_pieces
338#define PIECE_HEIGHT (BMPHEIGHT_pegbox_pieces/7) 339#define PIECE_HEIGHT (BMPHEIGHT_pegbox_pieces/7)
340#else
341/* dummy numbers to avoid #error in dependency generation */
342#define PIECE_WIDTH 50
343#define PIECE_HEIGHT 10
344#endif
339#define BOARD_WIDTH (12*PIECE_WIDTH) 345#define BOARD_WIDTH (12*PIECE_WIDTH)
340#define BOARD_HEIGHT (8*PIECE_HEIGHT) 346#define BOARD_HEIGHT (8*PIECE_HEIGHT)
341 347