Browse Source

Update launcher/helper.cpp

Co-authored-by: Andrey Filipenkov <[email protected]>
Laserlicht 1 month ago
parent
commit
f96996c181
1 changed files with 2 additions and 2 deletions
  1. 2 2
      launcher/helper.cpp

+ 2 - 2
launcher/helper.cpp

@@ -90,8 +90,8 @@ void performNativeCopy(QString src, QString dst)
 {
 #ifdef VCMI_ANDROID
 	// %-encode unencoded parts of string.
-	// This is needed because QT returns a mixed content url with %-encoded and unencoded parts. If Android >= 13 this causes problems reading this files, when using spaces and unicode characters in folder or filename.
-	// Only these should encoded (other typically %-encoded chars should not encoded because this leads to errors).
+	// This is needed because Qt returns a mixed content url with %-encoded and unencoded parts. On Android >= 13 this causes problems reading these files, when using spaces and unicode characters in folder or filename.
+	// Only these should be encoded (other typically %-encoded chars should not be encoded because this leads to errors).
 	// Related, but seems not completly fixed (at least in our setup): https://bugreports.qt.io/browse/QTBUG-114435
 	auto safeEncode = [&](QString uri) -> QString
 	{