From 897d797800f7fcfc81fbff067548f368b2808ed4 Mon Sep 17 00:00:00 2001 From: Giannis Adamopoulos Date: Mon, 30 Mar 2015 22:28:08 +0000 Subject: [PATCH] [EXPLORER] - Fix showing the website when Help is selected from the start menu. svn path=/trunk/; revision=66988 --- reactos/base/shell/explorer/explorer.rc | 2 +- reactos/base/shell/explorer/traywnd.cpp | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/reactos/base/shell/explorer/explorer.rc b/reactos/base/shell/explorer/explorer.rc index 2cfc04be332..4f365f0376d 100644 --- a/reactos/base/shell/explorer/explorer.rc +++ b/reactos/base/shell/explorer/explorer.rc @@ -28,7 +28,7 @@ CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "explorer.exe.manifest" STRINGTABLE BEGIN //IDS_HELP_COMMAND "helpctr.exe>-FromStartHelp" - IDS_HELP_COMMAND "https://www.reactos.org/" + IDS_HELP_COMMAND "http://www.reactos.org/" END IDA_TASKBAR ACCELERATORS diff --git a/reactos/base/shell/explorer/traywnd.cpp b/reactos/base/shell/explorer/traywnd.cpp index ec442e8f5ff..dbbb0a42bd0 100644 --- a/reactos/base/shell/explorer/traywnd.cpp +++ b/reactos/base/shell/explorer/traywnd.cpp @@ -2653,13 +2653,13 @@ HandleTrayContextMenu: } pszParameters = wcschr(szCommand, L'>'); - if (!pszParameters) - return E_FAIL; + if (pszParameters) + { + *pszParameters = 0; + pszParameters++; + } - *pszParameters = 0; - pszParameters++; - - ShellExecuteW(m_hWnd, NULL, szCommand, pszParameters, NULL, 0); + ShellExecuteW(m_hWnd, NULL, szCommand, pszParameters, NULL, SW_SHOWNORMAL); return S_OK; }