summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixMenubu.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/tkUnixMenubu.c')
-rw-r--r--unix/tkUnixMenubu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tkUnixMenubu.c b/unix/tkUnixMenubu.c
index dd67639..c9a33aa 100644
--- a/unix/tkUnixMenubu.c
+++ b/unix/tkUnixMenubu.c
@@ -279,7 +279,7 @@ TkpDisplayMenuButton(
Tk_Height(tkwin) - 2*mbPtr->highlightWidth,
mbPtr->borderWidth, mbPtr->relief);
}
- if (mbPtr->highlightWidth != 0) {
+ if (mbPtr->highlightWidth > 0) {
if (mbPtr->flags & GOT_FOCUS) {
gc = Tk_GCForColor(mbPtr->highlightColorPtr, pixmap);
} else {