- minor cleanups bugs in hiscore routines
This commit is contained in:
parent
0158ccf4c1
commit
55d1de8340
6
rc.c
6
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 {
|
||||
|
|
Loading…
Reference in New Issue