Skip to content

Commit 9814520

Browse files
committed
Updated refreshAltKeys function description.
1 parent 8476a13 commit 9814520

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

GeneralsMD/Code/GameEngine/Include/GameClient/Keyboard.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class Keyboard : public SubsystemInterface
120120
WideChar getPrintableKey( KeyDefType key, Int state );
121121
enum { MAX_KEY_STATES = 3};
122122
private:
123-
void refreshAltKeys() const; ///< refresh the state of the alt keys after alt tab
123+
void refreshAltKeys() const; ///< refresh the state of the alt keys, necessary after alt tab
124124
protected:
125125

126126
/** get the key data for a single key, KEY_NONE should be returned when

GeneralsMD/Code/GameEngine/Source/GameClient/Input/Keyboard.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ void Keyboard::resetKeys( void )
763763
}
764764

765765
//-------------------------------------------------------------------------------------------------
766-
// Refresh the state of the alt keys after alt tab
766+
// Refresh the state of the alt keys, necessary after alt tab
767767
//-------------------------------------------------------------------------------------------------
768768
void Keyboard::refreshAltKeys() const
769769
{

0 commit comments

Comments
 (0)