summaryrefslogtreecommitdiffstats
path: root/library/spinbox.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'library/spinbox.tcl')
-rw-r--r--library/spinbox.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/spinbox.tcl b/library/spinbox.tcl
index 6d740bc..95863b4 100644
--- a/library/spinbox.tcl
+++ b/library/spinbox.tcl
@@ -175,7 +175,7 @@ bind Spinbox <Delete> {
if {[%W selection present]} {
%W delete sel.first sel.last
} else {
- %W delete [::tk::startOfGlyphCluster [%W get] [%W index insert]] [::tk::endOfGlyphCluster [%W get] [%W index insert]]
+ %W delete [::tk::startOfCluster [%W get] [%W index insert]] [::tk::endOfGlyphCluster [%W get] [%W index insert]]
}
}
bind Spinbox <BackSpace> {