From e7d1b6c064ce1946a9c780a18faadb0daa3db817 Mon Sep 17 00:00:00 2001 From: Kimmo Pekkola Date: Tue, 21 Apr 2009 16:07:13 +0000 Subject: [PATCH] The help couldn't be opened if Rainmeter was installed to a folder with spaces. Fixed. --- Library/TrayWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/TrayWindow.cpp b/Library/TrayWindow.cpp index cc2ec2d0..ec47b16c 100644 --- a/Library/TrayWindow.cpp +++ b/Library/TrayWindow.cpp @@ -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)