mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-12 05:09:59 -06:00
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:
@@ -50,14 +50,6 @@ using namespace NWindows;
|
||||
static NCompression::CInfo m_RegistryInfo;
|
||||
extern HWND g_HWND;
|
||||
|
||||
UString GetQuotedString(const UString &s)
|
||||
{
|
||||
UString s2 ('\"');
|
||||
s2 += s;
|
||||
s2 += '\"';
|
||||
return s2;
|
||||
}
|
||||
|
||||
static void ErrorMessage(LPCWSTR message)
|
||||
{
|
||||
MessageBoxW(g_HWND, message, L"7-Zip ZS", MB_ICONERROR | MB_OK);
|
||||
|
||||
Reference in New Issue
Block a user