summaryrefslogtreecommitdiffstats
path: root/generic/tkMenubutton.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-12 11:50:53 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-12 11:50:53 (GMT)
commitbdbec5671088fa3f28bd273e5987fc7a7aa5af29 (patch)
treec7b8fd27a7c5f7151157355cf8993e9b7d898c22 /generic/tkMenubutton.c
parentb1e5b2f35860988dd0aad0342fdf06272864e30d (diff)
downloadtk-bdbec5671088fa3f28bd273e5987fc7a7aa5af29.zip
tk-bdbec5671088fa3f28bd273e5987fc7a7aa5af29.tar.gz
tk-bdbec5671088fa3f28bd273e5987fc7a7aa5af29.tar.bz2
More progress, implementing enhanced "-underline"
Diffstat (limited to 'generic/tkMenubutton.c')
-rw-r--r--generic/tkMenubutton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkMenubutton.c b/generic/tkMenubutton.c
index 7d6086f..3e9d511 100644
--- a/generic/tkMenubutton.c
+++ b/generic/tkMenubutton.c
@@ -262,7 +262,7 @@ Tk_MenubuttonObjCmd(
mbPtr->optionTable = optionTable;
mbPtr->menuName = NULL;
mbPtr->text = NULL;
- mbPtr->underline = -1;
+ mbPtr->underline = INT_MIN;
mbPtr->textVarName = NULL;
mbPtr->bitmap = None;
mbPtr->imageString = NULL;