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

@@ -12,16 +12,6 @@ extern bool g_IsNT;
namespace NWindows {
#ifndef UNDER_CE
static UString GetQuotedString(const UString &s)
{
UString s2 ('\"');
s2 += s;
s2 += '\"';
return s2;
}
#endif
WRes CProcess::Create(LPCWSTR imageName, const UString &params, LPCWSTR curDir)
{
/*