changeset 606 | 30b30f9da0b7 |
parent 600 | 6d08f4a05d93 |
--- a/imgtools/imglib/host/utf16string.cpp Fri Jun 25 20:58:33 2010 +0800 +++ b/imgtools/imglib/host/utf16string.cpp Tue Jun 29 14:52:54 2010 +0800 @@ -41,6 +41,7 @@ UTF16String::UTF16String(const TUint16* aUtf16Str,TInt aLength /* = -1*/){ if(aLength < 0){ + aLength = 0 ; const TUint16* p = aUtf16Str ; while(*p){ p++ ;