mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
The help couldn't be opened if Rainmeter was installed to a folder with spaces. Fixed.
This commit is contained in:
parent
136b3c20d7
commit
e7d1b6c064
@ -410,7 +410,7 @@ LRESULT CALLBACK CTrayWindow::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARA
|
|||||||
else if(wParam == ID_CONTEXT_SHOW_HELP)
|
else if(wParam == ID_CONTEXT_SHOW_HELP)
|
||||||
{
|
{
|
||||||
std::wstring help = Rainmeter->GetPath();
|
std::wstring help = Rainmeter->GetPath();
|
||||||
help += L"Rainmeter.chm";
|
help = L"\"" + help + L"Rainmeter.chm\"";
|
||||||
LSExecute(NULL, help.c_str(), SW_SHOWNORMAL);
|
LSExecute(NULL, help.c_str(), SW_SHOWNORMAL);
|
||||||
}
|
}
|
||||||
else if(wParam == ID_CONTEXT_REFRESH)
|
else if(wParam == ID_CONTEXT_REFRESH)
|
||||||
|
Loading…
Reference in New Issue
Block a user