Browse Source

Remove OSX-specific password mask bullet character to prevent poor handling of char encoding causing crash.

Cameron Porter 9 years ago
parent
commit
03f0c75bff
1 changed files with 0 additions and 7 deletions
  1. 0 7
      engine/source/gui/guiTextEditCtrl.cc

+ 0 - 7
engine/source/gui/guiTextEditCtrl.cc

@@ -66,14 +66,7 @@ GuiTextEditCtrl::GuiTextEditCtrl()
 
    mValidateCommand = StringTable->EmptyString;
    mEscapeCommand = StringTable->EmptyString;
-#ifdef TORQUE_OS_OSX
-   UTF8	bullet[4] = { static_cast<UTF8>(0xE2), static_cast<UTF8>(0x80), static_cast<UTF8>(0xA2), 0 };
-   
-   mPasswordMask = StringTable->insert( bullet );
-#else
    mPasswordMask = StringTable->insert( "*" );
-#endif
-
 
    mEditCursor = NULL;
 }