Skip to content

Commit

Permalink
Fixed bug in Hyperlink if linked text wrapped lines
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgammon committed Jan 9, 2011
1 parent dd274b9 commit c1602f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripting/methods/methods_noting.cpp
Expand Up @@ -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

Expand Down

0 comments on commit c1602f8

Please sign in to comment.