From: Jérémie Laval Date: Tue, 18 Dec 2012 12:46:23 +0000 (+0100) Subject: [monkeydoc] Null out helpSource if the hint was wrong. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=b2ef2339e97ab781fb287d33f9febd51a495231e;p=mono.git [monkeydoc] Null out helpSource if the hint was wrong. --- diff --git a/mcs/tools/monkeydoc/Monkeydoc/RootTree.cs b/mcs/tools/monkeydoc/Monkeydoc/RootTree.cs index d47418305c2..c653eeb61d6 100644 --- a/mcs/tools/monkeydoc/Monkeydoc/RootTree.cs +++ b/mcs/tools/monkeydoc/Monkeydoc/RootTree.cs @@ -360,6 +360,7 @@ namespace MonkeyDoc HelpSource helpSource = hintSource; if (helpSource == null || string.IsNullOrEmpty (internalId = helpSource.GetInternalIdForUrl (url, out node))) { + helpSource = null; foreach (var hs in helpSources.Where (h => h.CanHandleUrl (url))) { if (!string.IsNullOrEmpty (internalId = hs.GetInternalIdForUrl (url, out node))) { helpSource = hs;