seanpaultaylor 11 gadi atpakaļ
vecāks
revīzija
4442bb4827
1 mainītis faili ar 5 papildinājumiem un 5 dzēšanām
  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;
                 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
                     if (_font && _font->isCharacterSupported(key))
                     {