From 60ac8a8eba7529dc907fe6308bb85d4debe693d9 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Sat, 23 Jul 2016 04:25:40 +0000 Subject: [PATCH] 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@11844 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Help_View.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fl_Help_View.cxx b/src/Fl_Help_View.cxx index 34f1bb730..5d3bc8fa5 100644 --- a/src/Fl_Help_View.cxx +++ b/src/Fl_Help_View.cxx @@ -1909,7 +1909,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)