From: Andrew C. <ac...@us...> - 2005-01-30 20:55:12
|
Update of /cvsroot/planeshift/planeshift/src/common/paws In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20621/src/common/paws Modified Files: pawstextbox.cpp Log Message: Patch from Feran for long lines Index: pawstextbox.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/common/paws/pawstextbox.cpp,v retrieving revision 1.48 retrieving revision 1.49 diff -C2 -d -r1.48 -r1.49 *** pawstextbox.cpp 5 Jan 2005 17:33:12 -0000 1.48 --- pawstextbox.cpp 30 Jan 2005 20:54:57 -0000 1.49 *************** *** 690,693 **** --- 690,697 ---- if (cursorPosition>text.Length()) cursorPosition=text.Length(); + + if(start>text.Length()) + start=0; + if ( text.Length() > 0 ) { |