From 55d1de83404b44304fd0dc864dbec1ec63e20ce4 Mon Sep 17 00:00:00 2001 From: Rob Pearce Date: Thu, 23 Oct 2008 06:16:14 +0000 Subject: [PATCH] - minor cleanups bugs in hiscore routines --- rc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rc.c b/rc.c index 2571baa..f2b11cf 100644 --- a/rc.c +++ b/rc.c @@ -7674,8 +7674,8 @@ int submithiscore(int score,int level, char *name) { p2 = newtext; for (p = name ; *p != '\0'; p++) { if (*p == ' ') { - *p2 = '%'; *p2++; - *p2 = '2'; *p2++; + *p2 = '%'; p2++; + *p2 = '2'; p2++; *p2 = '0'; } else { *p2 = *p; @@ -7997,7 +7997,7 @@ void checkhiscores(void){ } else { playfx(FX_POWERUP); } - if (keyval == ' ') { + if (curlet == ' ') { // next letter is a capital capital = B_TRUE; } else {