summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/brickmania.c8
-rw-r--r--apps/plugins/solitaire.c2
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);