mesh.ini file bug fix

This commit is contained in:
Joachim Schoeberl 2009-05-09 13:15:32 +00:00
parent 309e767b37
commit 9ea5bbe6cc

View File

@ -639,10 +639,9 @@ proc saveinifile { } {
}
proc savemeshinifile { } {
uplevel 1 {
if {[catch { set datei [open ngmesh.ini w] } result } {
if {[catch { set datei [open ngmesh.ini w] } result ]} {
puts "cannot write to ng.ini file"
} {
for { set i [.ngmenu.file.recentmesh index last] } { $i >= 1 } { incr i -1 } {
@ -651,8 +650,6 @@ proc savemeshinifile { } {
close $datei
}
}
}
proc loadinifile { } {