From 67213cf0d83b09d6a990879b77f250551d91400f Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Sat, 23 Jul 2016 04:32:10 +0000 Subject: 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 --- src/Fl_Help_View.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_Help_View.cxx') 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) -- cgit v1.2.3