comparison UI/UiGame.cpp @ 2389:6a7309a847ea

removing some (const char *) casts
author Grumpy7
date Wed, 02 Jul 2014 15:13:39 +0200
parents bddcaf5d5db2
children aad4f31aa297
comparison
equal deleted inserted replaced
2388:41025c0eb414 2389:6a7309a847ea
658 if ( pGUIWindow2->receives_keyboard_input_2 != WINDOW_INPUT_IN_PROGRESS) 658 if ( pGUIWindow2->receives_keyboard_input_2 != WINDOW_INPUT_IN_PROGRESS)
659 { 659 {
660 if ( pGUIWindow2->receives_keyboard_input_2 == WINDOW_INPUT_CONFIRMED) 660 if ( pGUIWindow2->receives_keyboard_input_2 == WINDOW_INPUT_CONFIRMED)
661 { 661 {
662 pGUIWindow2->receives_keyboard_input_2 = WINDOW_INPUT_NONE; 662 pGUIWindow2->receives_keyboard_input_2 = WINDOW_INPUT_NONE;
663 strcpy(GameUI_Footer_TimedString.data(), (const char *)pKeyActionMap->pPressedKeysBuffer); 663 strcpy(GameUI_Footer_TimedString.data(), pKeyActionMap->pPressedKeysBuffer);
664 sub_4452BB(); 664 sub_4452BB();
665 return; 665 return;
666 } 666 }
667 if ( pGUIWindow2->receives_keyboard_input_2 != WINDOW_INPUT_CANCELLED) 667 if ( pGUIWindow2->receives_keyboard_input_2 != WINDOW_INPUT_CANCELLED)
668 return; 668 return;