Skip to content

Commit

Permalink
fixes for weekly.2011-12-22
Browse files Browse the repository at this point in the history
  • Loading branch information
bmizerany committed Dec 27, 2011
1 parent 9c87471 commit e201f86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions formatter.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (fo formatter) String() string {
}


func (fo formatter) passThrough(f fmt.State, c int) {
func (fo formatter) passThrough(f fmt.State, c rune) {
s := "%"
for i := 0; i < 128; i++ {
if f.Flag(i) {
Expand All @@ -62,7 +62,7 @@ func (fo formatter) passThrough(f fmt.State, c int) {
}


func (fo formatter) Format(f fmt.State, c int) {
func (fo formatter) Format(f fmt.State, c rune) {
if c == 'v' && f.Flag('#') && f.Flag(' ') {
fo.format(f)
return
Expand Down

0 comments on commit e201f86

Please sign in to comment.