Convert TaintedString to string.
This commit is contained in:
parent
7b73a94afc
commit
5db1de87b1
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ else:
|
|||
discard close(fd)
|
||||
if w > 0: return w
|
||||
var s = getEnv("COLUMNS") #Try standard env var
|
||||
if len(s) > 0 and parseInt(s, w) > 0 and w > 0:
|
||||
if len(s) > 0 and parseInt(string(s), w) > 0 and w > 0:
|
||||
return w
|
||||
return 80 #Finally default to venerable value
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue