Explorar el Código

'Y' was not a legal console character

Mike Vidales hace 11 años
padre
commit
57a9e90199
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      QGearsMain/src/core/Console.cpp

+ 1 - 1
QGearsMain/src/core/Console.cpp

@@ -297,7 +297,7 @@ Console::Input(const QGears::Event& event)
     // input ascii character
     // input ascii character
     else if ((event.type == QGears::ET_KEY_PRESS || event.type == QGears::ET_KEY_REPEAT) && m_InputLine.size() < m_LineWidth)
     else if ((event.type == QGears::ET_KEY_PRESS || event.type == QGears::ET_KEY_REPEAT) && m_InputLine.size() < m_LineWidth)
     {
     {
-        char legalchars[] = "ABCDEFGHIJKLMNOPQRSTUVWXUZabcdefghijklmnopqrstuvwxyz1234567890~!@#$%^&*()-_=+?{[]}|\\;:'\"<>,./? ";
+        char legalchars[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890~!@#$%^&*()-_=+?{[]}|\\;:'\"<>,./? ";
         char txt = TranslateNumpad(event);
         char txt = TranslateNumpad(event);
 
 
         for (unsigned int c = 0; c < sizeof(legalchars) - 1; ++c)
         for (unsigned int c = 0; c < sizeof(legalchars) - 1; ++c)