diff options
author | Marcoen Hirschberg <marcoen@gmail.com> | 2006-05-22 16:28:19 +0000 |
---|---|---|
committer | Marcoen Hirschberg <marcoen@gmail.com> | 2006-05-22 16:28:19 +0000 |
commit | 9ad02de6236dab85a11177c706a582bc7a7be75d (patch) | |
tree | f1ffb68318f051315618d9444b6386ede3203a3d /apps/plugins/cube.c | |
parent | 02e97d58b1ca3424b661322a69fea96eb3fa14bf (diff) |
fix simulator build for the gigabeat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9973 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/cube.c')
-rw-r--r-- | apps/plugins/cube.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/cube.c b/apps/plugins/cube.c index 854b190797..1db8b24b9c 100644 --- a/apps/plugins/cube.c +++ b/apps/plugins/cube.c @@ -138,7 +138,7 @@ PLUGIN_HEADER #ifdef HAVE_LCD_BITMAP -#define DIST (10*LCD_HEIGHT/16) +#define DIST (10 * MIN(LCD_HEIGHT, LCD_WIDTH) / 16) static int x_off = LCD_WIDTH/2; static int y_off = LCD_HEIGHT/2; |