From c1602f892447803cfd12f21a44719ce8f5bd4a30 Mon Sep 17 00:00:00 2001 From: Nick Gammon Date: Mon, 10 Jan 2011 07:40:39 +1100 Subject: [PATCH] Fixed bug in Hyperlink if linked text wrapped lines --- scripting/methods/methods_noting.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripting/methods/methods_noting.cpp b/scripting/methods/methods_noting.cpp index 56ba6300..347b963e 100644 --- a/scripting/methods/methods_noting.cpp +++ b/scripting/methods/methods_noting.cpp @@ -555,9 +555,9 @@ void CMUSHclientDoc::Hyperlink(LPCTSTR Action, // output the link text if (strlen (Text) > 0) - AddToLine (Text, 0); + AddToLine (Text, COMMENT); else - AddToLine (Action, 0); + AddToLine (Action, COMMENT); // add another style to finish the hyperlink