Browse Source

Fix incorrect MSDN url when searching online Help.

pull/787/head
Matt Ward 14 years ago
parent
commit
08f8dd6893
  1. 2
      src/AddIns/Misc/HelpViewer/Source/Core/DisplayHelp.cs

2
src/AddIns/Misc/HelpViewer/Source/Core/DisplayHelp.cs

@ -189,7 +189,7 @@ namespace MSHelpSystem.Core
if (string.IsNullOrEmpty(searchWords)) { if (string.IsNullOrEmpty(searchWords)) {
throw new ArgumentNullException("searchWords"); throw new ArgumentNullException("searchWords");
} }
string msdnUrl = string.Format(@"http://social.social.msdn.microsoft.com/Search/{0}/?query={1}&ac=3", CultureInfo.CurrentUICulture.ToString(), searchWords.Replace(" ", "+")); string msdnUrl = string.Format(@"http://social.msdn.microsoft.com/Search/{0}/?query={1}&ac=3", CultureInfo.CurrentUICulture.ToString(), searchWords.Replace(" ", "+"));
BrowserPane browser = ActiveHelp3Browser(); BrowserPane browser = ActiveHelp3Browser();
if (browser != null) { if (browser != null) {
LoggingService.Info(string.Format("Help 3.0: Navigating to {0}", msdnUrl)); LoggingService.Info(string.Format("Help 3.0: Navigating to {0}", msdnUrl));

Loading…
Cancel
Save