Changeset 1779


Ignore:
Timestamp:
Jun 24, 2010, 1:58:46 PM (14 years ago)
Author:
braffert
Message:

braced expression for security

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/molvisviewer.tcl

    r1778 r1779  
    791791                            set atom $type
    792792                        } else {
    793                             set atom [lindex $lammpstypemap [expr $type - 1]]
     793                            set atom [lindex $lammpstypemap [expr {$type - 1}]]
    794794                            if { "" == $atom} {
    795795                              set atom $type
Note: See TracChangeset for help on using the changeset viewer.