From: marko Date: Sat, 30 Jul 2005 02:01:58 +0000 (+0000) Subject: Fix the bug in configuration file editor which caused non-visible top X-Git-Url: https://git.entuzijast.net/?a=commitdiff_plain;h=68d1fdaf224ae902876455931598aa291d1cdf85;p=imunes.git Fix the bug in configuration file editor which caused non-visible top lines of the config to be truncated. Bug found by: Submitted by: Requested by: Reviewed by: Approved by: Obtained from: --- diff --git a/editor.tcl b/editor.tcl index 4c47aa5..0662067 100755 --- a/editor.tcl +++ b/editor.tcl @@ -1315,7 +1315,7 @@ proc customConfigApply { w node } { global changed set newcmd [$w.ftop.cmd get] - set newconf [split [$w.text get @0,0 end] { }] + set newconf [split [$w.text get 0.0 end] { }] while { [lindex $newconf end] == {} } { set newconf [lreplace $newconf end end] }