From: Leslie S. <ls...@us...> - 2002-01-18 03:03:07
|
Update of /cvsroot/planeshift/planeshift/src/client/gui/base In directory usw-pr-cvs1:/tmp/cvs-serv15251/src/client/gui/base Modified Files: pstextin.cpp Log Message: see history.txt for changes Index: pstextin.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/client/gui/base/pstextin.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** pstextin.cpp 2002/01/18 02:51:44 1.4 --- pstextin.cpp 2002/01/18 03:03:04 1.5 *************** *** 76,80 **** //------------------------------------------------------------------- ! bool psTextInput::HandleKeyDown(int key, char , int modifier) { if(focused) --- 76,80 ---- //------------------------------------------------------------------- ! bool psTextInput::HandleKeyDown(int key, char c, int modifier) { if(focused) *************** *** 84,91 **** else { ! if(key >= 97 && key <= 122 && modifier & CSMASK_SHIFT) ! key -= 32; ! if(key >= 32 && key <= 126) ! AppendChar(key); } return true; --- 84,89 ---- else { ! if(c >= 32 && c <= 126) ! AppendChar(c); } return true; |