Fix spurious newline when loading file in file editor
This commit is contained in:
parent
28d3499032
commit
72cca9737b
@ -25,7 +25,7 @@ if {![file exists $file]} {
|
||||
puts ">>> File $file is too large ([pretty_size $fsize] > [pretty_size $maxfsize])."
|
||||
} else {
|
||||
set fp [open $file r]
|
||||
puts [read $fp]
|
||||
puts -nonewline [read $fp]
|
||||
close $fp
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user