Просмотр исходного кода

fixed issue if we couldn't find the icu dlls and converting to lower case

scott brogden 5 лет назад
Родитель
Сommit
f0381cf878
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      ICU_String.cpp

+ 2 - 2
ICU_String.cpp

@@ -80,7 +80,7 @@ CString CICU_String::ToLowerStringEx(CString source)
 {
 	if (m_dllHandle == NULL || u_tolower == NULL)
 	{
-		return source.MakeLower();
+		return CString(source).MakeLower();
 	}
 
 	CString dest;
@@ -99,7 +99,7 @@ CString CICU_String::ToUpperStringEx(CString source)
 {
 	if (m_dllHandle == NULL || u_tolower == NULL)
 	{
-		return source.MakeUpper();
+		return CString(source).MakeUpper();
 	}
 
 	CString dest;