summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tkMenuDraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkMenuDraw.c b/generic/tkMenuDraw.c
index 1abe1c4..14a60ca 100644
--- a/generic/tkMenuDraw.c
+++ b/generic/tkMenuDraw.c
@@ -673,7 +673,7 @@ DisplayMenu(
} else {
if (mePtr->entryFlags & ENTRY_LAST_COLUMN) {
width = Tk_Width(menuPtr->tkwin) - mePtr->x
- - activeBorderWidth;
+ - borderWidth;
} else {
width = mePtr->width + borderWidth;
}