Explorar o código

Fix TCL 8.4 compatibility

Trevor Slocum %!s(int64=12) %!d(string=hai) anos
pai
achega
7ffc5da32a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      slang.tcl

+ 1 - 0
slang.tcl

@@ -80,6 +80,7 @@ proc ud::handler {nick uhost hand chan argv} {
 }
 
 proc ud::output {chan def_dict} {
+	set output 0
 	foreach line [ud::split_line $ud::line_length [dict get $def_dict definition]] {
 		if {[incr output] > $ud::max_lines} {
 			if {$ud::show_truncate} {