Browse Source

fix for typo in UTF16 decoder

ArtemKulyk 9 years ago
parent
commit
cfec9a95bc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Urho3D/Container/Str.cpp

+ 1 - 1
Source/Urho3D/Container/Str.cpp

@@ -1025,7 +1025,7 @@ unsigned String::DecodeUTF16(const wchar_t*& src)
         return '?';
     }
     
-    if (word1 < 0xd800 || word1 >= 0xe00)
+    if (word1 < 0xd800 || word1 >= 0xe000)
         return word1;
     else
     {