diff options
author | fvogel <fvogelnew1@free.fr> | 2018-09-29 09:35:07 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2018-09-29 09:35:07 (GMT) |
commit | ec60445b0cc27430b44a55eb513656838f6a6064 (patch) | |
tree | ecb41fb8b8b4e230cd7de355c49aacf8507ced8b /unix/tkUnixMenu.c | |
parent | 396d37035ef04c028b26e8329bc454353bf94299 (diff) | |
download | tk-ec60445b0cc27430b44a55eb513656838f6a6064.zip tk-ec60445b0cc27430b44a55eb513656838f6a6064.tar.gz tk-ec60445b0cc27430b44a55eb513656838f6a6064.tar.bz2 |
Fix drawing of the tearoff entry
Diffstat (limited to 'unix/tkUnixMenu.c')
-rw-r--r-- | unix/tkUnixMenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tkUnixMenu.c b/unix/tkUnixMenu.c index acee61f..e2bd6ad 100644 --- a/unix/tkUnixMenu.c +++ b/unix/tkUnixMenu.c @@ -1193,7 +1193,7 @@ DrawTearoffEntry( points[0].y = y + height/2; points[1].y = points[0].y; segmentWidth = 6; - maxX = width - 1; + maxX = x + width - 1; border = Tk_Get3DBorderFromObj(menuPtr->tkwin, menuPtr->borderPtr); while (points[0].x < maxX) { |