Code deduplication GetQuotedString()

Moved single function GetQuotedString() to MyString

Signed-off-by: Sergey G. Brester <info@sebres.de>
Reviewed-by: Tino Reichardt <milky-7zip@mcmilk.de>
This commit is contained in:
sebres
2023-04-06 18:57:17 +02:00
committed by Tino Reichardt
parent 8cfdd747c8
commit 19e97e4c68
7 changed files with 14 additions and 37 deletions

View File

@@ -994,9 +994,6 @@ typedef const FChar *CFSTR;
typedef CObjectVector<FString> FStringVector;
#endif
#if defined(_WIN32)
// #include <wchar.h>
@@ -1012,3 +1009,7 @@ typedef CObjectVector<FString> FStringVector;
#define WCHAR_IN_FILE_NAME_BACKSLASH_REPLACEMENT ((wchar_t)((unsigned)(0xF000) + (unsigned)'\\'))
// #define WCHAR_IN_FILE_NAME_BACKSLASH_REPLACEMENT '_'
#endif
UString GetQuotedString(const UString &s);
#endif