Skip to content

Commit c1602f8

Browse files
committed
Fixed bug in Hyperlink if linked text wrapped lines
1 parent dd274b9 commit c1602f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripting/methods/methods_noting.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,9 +555,9 @@ void CMUSHclientDoc::Hyperlink(LPCTSTR Action,
555555

556556
// output the link text
557557
if (strlen (Text) > 0)
558-
AddToLine (Text, 0);
558+
AddToLine (Text, COMMENT);
559559
else
560-
AddToLine (Action, 0);
560+
AddToLine (Action, COMMENT);
561561

562562
// add another style to finish the hyperlink
563563

0 commit comments

Comments
 (0)