diff options
author | Marcoen Hirschberg <marcoen@gmail.com> | 2006-02-24 15:13:04 +0000 |
---|---|---|
committer | Marcoen Hirschberg <marcoen@gmail.com> | 2006-02-24 15:13:04 +0000 |
commit | c296ac5d659dc3276a925c49c94f8d79a47dd0f4 (patch) | |
tree | c451fa8c2f79ff239735ac445a820216643aa7cb /apps | |
parent | 568ac3eb2130eb3c8075d6e1de5402647b5c2ebc (diff) |
code police strikes again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8829 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/brickmania.c | 8 | ||||
-rw-r--r-- | apps/plugins/solitaire.c | 2 |
2 files changed, 5 insertions, 5 deletions
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); |