Explorar el Código

Fixed issue with special case pastes on non windows 10 machines

sabrogden hace 5 años
padre
commit
a4827e1af1
Se han modificado 1 ficheros con 6 adiciones y 6 borrados
  1. 6 6
      ICU_String.cpp

+ 6 - 6
ICU_String.cpp

@@ -50,30 +50,30 @@ bool CICU_String::IsUpperEx(wchar_t c)
 {
 	if (m_dllHandle == NULL || u_tolower == NULL)
 	{
-		return u_isUUppercase(c);
+		return ::isupper(c);
 	}
 
-	return ::isupper(c);
+	return u_isUUppercase(c);
 }
 
 wchar_t CICU_String::ToLowerEx(wchar_t c)
 {
 	if (m_dllHandle == NULL || u_tolower == NULL)
 	{
-		return u_tolower(c);
+		return ::tolower(c);
 	}
 
-	return ::tolower(c);
+	return u_tolower(c);
 }
 
 wchar_t CICU_String::ToUpperEx(wchar_t c)
 {
 	if (m_dllHandle == NULL || u_tolower == NULL)
 	{
-		return u_toupper(c);
+		return ::toupper(c);
 	}
 
-	return ::toupper(c);
+	return u_toupper(c);
 }
 
 CString CICU_String::ToLowerStringEx(CString source)