From c296ac5d659dc3276a925c49c94f8d79a47dd0f4 Mon Sep 17 00:00:00 2001 From: Marcoen Hirschberg Date: Fri, 24 Feb 2006 15:13:04 +0000 Subject: code police strikes again git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8829 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/brickmania.c | 8 ++++---- apps/plugins/solitaire.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'apps') diff --git a/apps/plugins/brickmania.c b/apps/plugins/brickmania.c index 527d0aace0..10f230ea66 100644 --- a/apps/plugins/brickmania.c +++ b/apps/plugins/brickmania.c @@ -958,7 +958,7 @@ int help(int when) return 1; break; } - return NULL; + return 0; break; case LEFT: case LEFT | BUTTON_REPEAT: @@ -987,7 +987,7 @@ int help(int when) break; } } - return NULL; + return 0; } int pad_check(int ballxc, int mode, int pon ,int ballnum) @@ -1014,7 +1014,7 @@ int fire_space(void) if (fire[t].top+7 < 0) return t; - return NULL; + return 0; } int game_loop(void){ @@ -1388,7 +1388,7 @@ int game_loop(void){ ball[k].y = -4; if (ball[k].pos_x != 0 && ball[k].pos_x+BALL!=LCD_WIDTH) - ball[k].x = pad_check(2,1,NULL,k); + ball[k].x = pad_check(2,1,0,k); } else { ball[k].y = -4; diff --git a/apps/plugins/solitaire.c b/apps/plugins/solitaire.c index 9dc6c52b62..cf6c6cb965 100644 --- a/apps/plugins/solitaire.c +++ b/apps/plugins/solitaire.c @@ -886,7 +886,7 @@ int solitaire(void){ draw_type=change_draw(draw_type); configfile_save(FILENAME, config, 1, 0); when=draw_type==0?MENU_BEFOREGAME:MENU_BEFOREGAMEOP; - return NULL; + return 0; } #if LCD_DEPTH>1 rb->lcd_set_foreground(LCD_BLACK); -- cgit v1.2.3