(gcc 2.95.4; debian stable :^P )
SVN-Revision: 123
/* Menu HighScore (ask for player's name) */
int menu_highscore()
{
/* Menu HighScore (ask for player's name) */
int menu_highscore()
{
while(delete_character > 0) /* remove charactes */
{
hs_name[strlen(hs_name)-1] = '\0';
delete_character--;
}
while(delete_character > 0) /* remove charactes */
{
hs_name[strlen(hs_name)-1] = '\0';
delete_character--;
}
strcat(hs_name, input_string);
text_drawf(&red_text, "Congratulations", 0, 130, A_HMIDDLE, A_TOP, 2, NO_UPDATE);
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;
{
SDLKey key = keysym->sym;
SDLMod keymod;
-keymod = SDL_GetModState();
+keymod = SDL_GetModState();
+
/* If the current unicode character is an ASCII character,
assign it to ch. */
if ( (keysym->unicode & 0xFF80) == 0 ) {
/* If the current unicode character is an ASCII character,
assign it to ch. */
if ( (keysym->unicode & 0xFF80) == 0 ) {