Anyone notice a bug in the password textbox?
by Vince Gee · in Torque Game Engine · 02/03/2006 (6:36 pm) · 3 replies
Weird issue tongiht... I'm converting an old set of scripts to t1.4 and I had to turn off all the password flags on the password fields... it seemed that the system would hang... any fixes out there?
Vince
Vince
About the author
www.winterleafentertainment.com
#2
02/04/2006 (7:37 am)
It is. I forget where the post is.
#3
In guiTextEditCtrl.cc look for this around line 968
and replace the if statement with
I believe what was happening was the code was not taking into account if mTextBuffer length = 0
Anyway, let me know if that works for you.
02/06/2006 (6:06 am)
I ran into this issue awhile back and I think this was what I did to fix it.In guiTextEditCtrl.cc look for this around line 968
if(mPasswordText)
{
for(U32 i = 0; i<mTextBuffer.length()-1; i++)
textBuffer.append(StringBuffer(mPasswordMask));
}and replace the if statement with
if(mPasswordText && (mTextBuffer.length() > 1))
I believe what was happening was the code was not taking into account if mTextBuffer length = 0
Anyway, let me know if that works for you.
Associate Orion Elenzil
Real Life Plus