seanpaultaylor 11 years ago
parent
commit
4442bb4827
1 changed files with 5 additions and 5 deletions
  1. 5 5
      gameplay/src/TextBox.cpp

+ 5 - 5
gameplay/src/TextBox.cpp

@@ -262,11 +262,11 @@ bool TextBox::keyEvent(Keyboard::KeyEvent evt, int key)
                     return false;
                     return false;
                 default:
                 default:
                 {
                 {
-                	// Insert character into string, only if our font supports this character
-                	if (_shiftPressed && islower(key))
-                	{
-                	    key = toupper(key);
-                	}
+                    // Insert character into string, only if our font supports this character
+                    if (_shiftPressed && islower(key))
+                    {
+                        key = toupper(key);
+                    }
                     // Insert character into string, only if our font supports this character
                     // Insert character into string, only if our font supports this character
                     if (_font && _font->isCharacterSupported(key))
                     if (_font && _font->isCharacterSupported(key))
                     {
                     {