summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-06-18 07:43:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-06-18 07:43:59 (GMT)
commit914227b03938ff6da7a4b35ef2e9a2b495df3ba0 (patch)
treebadfd30dee7ef1a7a95dabf3bee8cc225367e523 /tools
parent5298476c8a9dce4f5b1e2519220df640ba3c7046 (diff)
downloadtcl-914227b03938ff6da7a4b35ef2e9a2b495df3ba0.zip
tcl-914227b03938ff6da7a4b35ef2e9a2b495df3ba0.tar.gz
tcl-914227b03938ff6da7a4b35ef2e9a2b495df3ba0.tar.bz2
Fix uniClass tool which was the real cause for [a876646efe], and add test-case for it.
Diffstat (limited to 'tools')
-rw-r--r--tools/uniClass.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/uniClass.tcl b/tools/uniClass.tcl
index 32b40e9..9b4819d 100644
--- a/tools/uniClass.tcl
+++ b/tools/uniClass.tcl
@@ -72,7 +72,7 @@ proc genTable {type} {
if {$i == ($last + 1)} {
set last $i
} else {
- if {$first > 0} {
+ if {$first >= 0} {
emitRange $first $last
}
set first $i