소스 검색

Merge pull request #3 from tslocum/patch-1

Fix TCL 8.4 compatibility
Will Storey 12 년 전
부모
커밋
7dab504425
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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} {