]> git.entuzijast.net Git - imunes.git/commitdiff
malo objasnjenje string range <string> 0 0
authornuma <numa@numa-ubuntu-vm.(none)>
Fri, 28 Aug 2009 12:08:41 +0000 (14:08 +0200)
committerJosip Rodin <joy@CNZGRIJRL.carpriv.carnet.hr>
Fri, 4 Sep 2009 19:04:36 +0000 (21:04 +0200)
(cherry picked from commit 01e20630943f90142ceeea3676709e7834b84161)

Signed-off-by: Josip Rodin <joy@CNZGRIJRL.carpriv.carnet.hr>
cfgparse.tcl

index 23edd77deabb41339e2f3c7a01a3309094a1bcaf..bf6ac96142d4d797b57022b957904176c0020a7c 100755 (executable)
@@ -561,6 +561,7 @@ proc newObjectId { type } {
     upvar 0 ::cf::[set ::curcfg]::canvas_list canvas_list
     global cfg_list
 
+# vadi prvo slovo iz typea
     set mark [string range [set type] 0 0]
     set id 0
     while {[lsearch [set [set type]_list] "$mark$id"]  != -1} {