diff options
| author | Greg Ercolano <erco@seriss.com> | 2016-07-23 04:32:10 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2016-07-23 04:32:10 +0000 |
| commit | 67213cf0d83b09d6a990879b77f250551d91400f (patch) | |
| tree | 80e512e89d65ebdf345e2598dbe11d8bfd6070e1 | |
| parent | 7b30c4720e380467fe5b0d192bc23139a45c39c1 (diff) | |
Bringing over fix [r11844] from 1.3 current to the porting branch.
Fixes STR #3270; when an image is used as a link,
this mod synchronizes the link's hot spot with the image.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/Fl_Help_View.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Help_View.cxx b/src/Fl_Help_View.cxx index 02f80bddd..6036fddc4 100644 --- a/src/Fl_Help_View.cxx +++ b/src/Fl_Help_View.cxx @@ -1901,7 +1901,7 @@ void Fl_Help_View::format() { } if (linkdest[0]) - add_link(linkdest, xx, yy - height, ww, height); + add_link(linkdest, xx, yy-fsize, ww, height); xx += ww; if ((height + 2) > hh) |
