| 86 | bool PathHasSpace(const std::wstring &path) { return path.find(L' ') != std::wstring::npos; } |
| 87 | |
| 88 | std::wstring QuotePathIfNeeded(const std::wstring &path) { |
| 89 | return PathHasSpace(path) ? L"\"" + path + L"\"" : path; |
| 90 | } |
| 91 | |
| 92 | int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { |
| 93 | std::wstring cmdLine = ::ConvertLPSTRToWString(lpCmdLine); |
no test coverage detected