From: Anders R. <ma...@us...> - 2003-03-08 13:04:47
|
Update of /cvsroot/planeshift/planeshift/src/client/gui/base In directory sc8-pr-cvs1:/tmp/cvs-serv14594/client/gui/base Modified Files: pstextin.cpp Log Message: More compiler warning fixes. Index: pstextin.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/client/gui/base/pstextin.cpp,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** pstextin.cpp 6 Feb 2003 09:00:24 -0000 1.24 --- pstextin.cpp 8 Mar 2003 13:04:45 -0000 1.25 *************** *** 166,170 **** else if(c >= 32 && c <= 126) { ! if(text.Length() < textLimit) text.Append(c); } --- 166,170 ---- else if(c >= 32 && c <= 126) { ! if(text.Length() < (unsigned int)textLimit) text.Append(c); } *************** *** 196,198 **** if(len < drawText.Length()) drawText.DeleteAt(0, drawText.Length() - len); ! } \ No newline at end of file --- 196,199 ---- if(len < drawText.Length()) drawText.DeleteAt(0, drawText.Length() - len); ! } ! |