Skip to content

Commit

Permalink
bugfix in show.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
dysonance committed Apr 3, 2017
1 parent 6157bad commit e455d3e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/show.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ const SHOWINT = false # whether to format integer columns without decimals
# strwidth(b::Bool)::Int = b ? 4 : 5
# strwidth(c::Char)::Int = 1

str_width(s::AbstractString)::Int = strwidth(string(s))
str_width(s::AbstractString)::Int = strwidth(s)
str_width(s::Symbol)::Int = strwidth(string(s))
str_width(n::Number)::Int = strwidth(string(s))
str_width(f::Function)::Int = strwidth(string(s))
str_width(n::Number)::Int = strwidth(string(n))
str_width(f::Function)::Int = strwidth(string(f))
str_width(b::Bool)::Int = b ? 4 : 5
str_width(c::Char)::Int = 1

Expand Down

0 comments on commit e455d3e

Please sign in to comment.