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 | |
parent | 568ac3eb2130eb3c8075d6e1de5402647b5c2ebc (diff) | |
download | rockbox-c296ac5d659dc3276a925c49c94f8d79a47dd0f4.tar.gz rockbox-c296ac5d659dc3276a925c49c94f8d79a47dd0f4.zip |
code police strikes again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8829 a1c6a512-1295-4272-9138-f99709370657
-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) | |||
958 | return 1; | 958 | return 1; |
959 | break; | 959 | break; |
960 | } | 960 | } |
961 | return NULL; | 961 | return 0; |
962 | break; | 962 | break; |
963 | case LEFT: | 963 | case LEFT: |
964 | case LEFT | BUTTON_REPEAT: | 964 | case LEFT | BUTTON_REPEAT: |
@@ -987,7 +987,7 @@ int help(int when) | |||
987 | break; | 987 | break; |
988 | } | 988 | } |
989 | } | 989 | } |
990 | return NULL; | 990 | return 0; |
991 | } | 991 | } |
992 | 992 | ||
993 | int pad_check(int ballxc, int mode, int pon ,int ballnum) | 993 | int pad_check(int ballxc, int mode, int pon ,int ballnum) |
@@ -1014,7 +1014,7 @@ int fire_space(void) | |||
1014 | if (fire[t].top+7 < 0) | 1014 | if (fire[t].top+7 < 0) |
1015 | return t; | 1015 | return t; |
1016 | 1016 | ||
1017 | return NULL; | 1017 | return 0; |
1018 | } | 1018 | } |
1019 | 1019 | ||
1020 | int game_loop(void){ | 1020 | int game_loop(void){ |
@@ -1388,7 +1388,7 @@ int game_loop(void){ | |||
1388 | 1388 | ||
1389 | ball[k].y = -4; | 1389 | ball[k].y = -4; |
1390 | if (ball[k].pos_x != 0 && ball[k].pos_x+BALL!=LCD_WIDTH) | 1390 | if (ball[k].pos_x != 0 && ball[k].pos_x+BALL!=LCD_WIDTH) |
1391 | ball[k].x = pad_check(2,1,NULL,k); | 1391 | ball[k].x = pad_check(2,1,0,k); |
1392 | 1392 | ||
1393 | } else { | 1393 | } else { |
1394 | ball[k].y = -4; | 1394 | 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){ | |||
886 | draw_type=change_draw(draw_type); | 886 | draw_type=change_draw(draw_type); |
887 | configfile_save(FILENAME, config, 1, 0); | 887 | configfile_save(FILENAME, config, 1, 0); |
888 | when=draw_type==0?MENU_BEFOREGAME:MENU_BEFOREGAMEOP; | 888 | when=draw_type==0?MENU_BEFOREGAME:MENU_BEFOREGAMEOP; |
889 | return NULL; | 889 | return 0; |
890 | } | 890 | } |
891 | #if LCD_DEPTH>1 | 891 | #if LCD_DEPTH>1 |
892 | rb->lcd_set_foreground(LCD_BLACK); | 892 | rb->lcd_set_foreground(LCD_BLACK); |