diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/pong.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/pong.c b/apps/plugins/pong.c index a1a1d58593..b88b95bb91 100644 --- a/apps/plugins/pong.c +++ b/apps/plugins/pong.c @@ -246,7 +246,10 @@ void bounce(struct pong *p, int pad, int info) void score(struct pong *p, int pad) { - rb->splash(HZ/4, "%s scores!", pad?"right":"left"); + if(pad) + rb->splash(HZ/4, "right scores!"); + else + rb->splash(HZ/4, "left scores!"); rb->lcd_clear_display(); p->score[pad]++; |