Permalink
Browse files

base/printf.jl: indentation fixes (cosmetic)

  • Loading branch information...
1 parent 92b7569 commit 710b1cbdca84d8d20813141b7ab537bc3a9f4a4f @StefanKarpinski StefanKarpinski committed Jan 16, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 base/printf.jl
View
4 base/printf.jl
@@ -265,7 +265,7 @@ function _gen_d(flags::ASCIIString, width::Int, precision::Int, c::Char)
# print sign
in('+',flags) ? push!(blk.args, :(write(out, neg?'-':'+'))) :
in(' ',flags) ? push!(blk.args, :(write(out, neg?'-':' '))) :
- push!(blk.args, :(neg && write(out, '-')))
+ push!(blk.args, :(neg && write(out, '-')))
# print prefix
for ch in prefix
push!(blk.args, :(write(out, $ch)))
@@ -328,7 +328,7 @@ function _gen_f(flags::ASCIIString, width::Int, precision::Int, c::Char)
# print sign
in('+',flags) ? push!(blk.args, :(write(out, neg?'-':'+'))) :
in(' ',flags) ? push!(blk.args, :(write(out, neg?'-':' '))) :
- push!(blk.args, :(neg && write(out, '-')))
+ push!(blk.args, :(neg && write(out, '-')))
# print zero padding
if padding != nothing && !in('-',flags) && in('0',flags)
push!(blk.args, _pad(width-1, padding, '0'))

0 comments on commit 710b1cb

Please sign in to comment.