From 9ea5bbe6cc9fee40c3686a0a8140c4ab2b6f03ca Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Sat, 9 May 2009 13:15:32 +0000 Subject: [PATCH] mesh.ini file bug fix --- ng/variables.tcl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ng/variables.tcl b/ng/variables.tcl index cb77d311..5e843278 100644 --- a/ng/variables.tcl +++ b/ng/variables.tcl @@ -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 { } {