The help couldn't be opened if Rainmeter was installed to a folder with spaces. Fixed.

This commit is contained in:
Kimmo Pekkola 2009-04-21 16:07:13 +00:00
parent 136b3c20d7
commit e7d1b6c064

View File

@ -410,7 +410,7 @@ LRESULT CALLBACK CTrayWindow::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARA
else if(wParam == ID_CONTEXT_SHOW_HELP)
{
std::wstring help = Rainmeter->GetPath();
help += L"Rainmeter.chm";
help = L"\"" + help + L"Rainmeter.chm\"";
LSExecute(NULL, help.c_str(), SW_SHOWNORMAL);
}
else if(wParam == ID_CONTEXT_REFRESH)