From 66029a58aeac41340f57d6b6c4f5c79eae04cc4a Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Wed, 1 Aug 2007 23:42:41 +0000 Subject: Prevent pong from crashing in 64 bit simulator git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14133 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/pong.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'apps') 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]++; -- cgit v1.2.3