/* Menu HighScore (ask for player's name) */
int menu_highscore()
{
+char str[60];
+
while(delete_character > 0) /* remove charactes */
{
hs_name[strlen(hs_name)-1] = '\0';
delete_character--;
}
-char str[60];
strcat(hs_name, input_string);
text_drawf(&red_text, "Congratulations", 0, 130, A_HMIDDLE, A_TOP, 2, NO_UPDATE);
{
SDLKey key = keysym->sym;
SDLMod keymod;
-keymod = SDL_GetModState();
char ch[2];
+keymod = SDL_GetModState();
+
/* If the current unicode character is an ASCII character,
assign it to ch. */
if ( (keysym->unicode & 0xFF80) == 0 ) {