Fixed a few warnings.
This commit is contained in:
parent
8a831f5cfd
commit
3b3ecffd3e
@ -148,13 +148,13 @@ static void display_dealer_hand(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void display_player_score(void) {
|
static void display_player_score(void) {
|
||||||
char buf[3];
|
char buf[4];
|
||||||
sprintf(buf, "%2d", score_player);
|
sprintf(buf, "%2d", score_player);
|
||||||
watch_display_text(WATCH_POSITION_SECONDS, buf);
|
watch_display_text(WATCH_POSITION_SECONDS, buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void display_dealer_score(void) {
|
static void display_dealer_score(void) {
|
||||||
char buf[3];
|
char buf[4];
|
||||||
sprintf(buf, "%2d", score_dealer);
|
sprintf(buf, "%2d", score_dealer);
|
||||||
watch_display_text(WATCH_POSITION_TOP_RIGHT, buf);
|
watch_display_text(WATCH_POSITION_TOP_RIGHT, buf);
|
||||||
}
|
}
|
||||||
@ -251,7 +251,7 @@ static void see_if_dealer_hits(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void handle_button_presses(bool hit) {
|
static void handle_button_presses(bool hit) {
|
||||||
switch (game_state)
|
switch (game_state)
|
||||||
{
|
{
|
||||||
case BJ_TITLE_SCREEN:
|
case BJ_TITLE_SCREEN:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user