diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-10-12 15:09:02 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-10-12 15:09:02 (GMT) |
commit | 23718fff3fa4498a96ddba775e09ec032b64c6a1 (patch) | |
tree | 1f10636b6db460edde51cdeedce05d61cc290c89 /macosx/tkMacOSXMenu.c | |
parent | 96b66d43c7d89c8cff44d9768c2d57bd4b4a7cdf (diff) | |
parent | f09480661f2d21a06fc4329c773d93124e674a7a (diff) | |
download | tk-23718fff3fa4498a96ddba775e09ec032b64c6a1.zip tk-23718fff3fa4498a96ddba775e09ec032b64c6a1.tar.gz tk-23718fff3fa4498a96ddba775e09ec032b64c6a1.tar.bz2 |
Rebase to 8.7
Diffstat (limited to 'macosx/tkMacOSXMenu.c')
-rw-r--r-- | macosx/tkMacOSXMenu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXMenu.c b/macosx/tkMacOSXMenu.c index f75db3e..cd93592 100644 --- a/macosx/tkMacOSXMenu.c +++ b/macosx/tkMacOSXMenu.c @@ -849,7 +849,7 @@ TkpConfigureMenuEntry( * have been added by the system. See [7185d26cf4]. */ - for (TkSizeT i = 0; i < menuRefPtr->menuPtr->numEntries; i++) { + for (Tcl_Size i = 0; i < menuRefPtr->menuPtr->numEntries; i++) { TkMenuEntry *submePtr = menuRefPtr->menuPtr->entries[i]; NSMenuItem *item = (NSMenuItem *) submePtr->platformEntryData; [item setEnabled:(submePtr->state != ENTRY_DISABLED)]; @@ -1048,7 +1048,7 @@ TkpPostTearoffMenu( * at the given coordinates. */ - if (index < 0 || (TkSizeT)index >= menuPtr->numEntries) { + if (index < 0 || (Tcl_Size)index >= menuPtr->numEntries) { index = menuPtr->numEntries - 1; } if (index >= 0) { |