diff options
-rw-r--r-- | .github/workflows/win-build.yml | 1 | ||||
-rw-r--r-- | library/tearoff.tcl | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/win-build.yml b/.github/workflows/win-build.yml index 53ca190..be18af3 100644 --- a/.github/workflows/win-build.yml +++ b/.github/workflows/win-build.yml @@ -23,7 +23,6 @@ jobs: matrix: config: - "OPTS=none" - - "OPTS=static" - "OPTS=symbols" steps: - name: Checkout Tk diff --git a/library/tearoff.tcl b/library/tearoff.tcl index c6cb8ca..1591942 100644 --- a/library/tearoff.tcl +++ b/library/tearoff.tcl @@ -138,7 +138,7 @@ proc ::tk::MenuDup {src dst type} { # Copy the meny entries, if any set last [$src index last] - if {$last ne "none" && $last >= 0} { + if {$last ne "none"} { for {set i [$src cget -tearoff]} {$i <= $last} {incr i} { set cmd [list $dst add [$src type $i] [$src id $i]] foreach option [$src entryconfigure $i] { |