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 /win | |
parent | 396d37035ef04c028b26e8329bc454353bf94299 (diff) | |
download | tk-ec60445b0cc27430b44a55eb513656838f6a6064.zip tk-ec60445b0cc27430b44a55eb513656838f6a6064.tar.gz tk-ec60445b0cc27430b44a55eb513656838f6a6064.tar.bz2 |
Fix drawing of the tearoff entry
Diffstat (limited to 'win')
-rw-r--r-- | win/tkWinMenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinMenu.c b/win/tkWinMenu.c index 69005e8..91bac32 100644 --- a/win/tkWinMenu.c +++ b/win/tkWinMenu.c @@ -2437,7 +2437,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) { |