summaryrefslogtreecommitdiff
path: root/CONTRIBUTORS
diff options
context:
space:
mode:
authorMihai Borobocea <MihaiBorobocea@gmail.com>2014-07-29 16:46:53 -0700
committerMihai Borobocea <MihaiBorobocea@gmail.com>2014-07-29 16:46:53 -0700
commit1b759b802dbcddbd1a679bd451ebb73c94d99c50 (patch)
tree4588964889cafd31e5a8ee06d475d80d79829d09 /CONTRIBUTORS
parente38ec9cd7d60f01f2070bbada27d06ae00f65aef (diff)
downloadgo-1b759b802dbcddbd1a679bd451ebb73c94d99c50.tar.gz
fmt: measure width in runes not bytes with %c and %q for ints
This is meant to share my progress on Issue 8275, if it's useful to you. I'm not familiar with the formatter's internals, so this change is likely naive. Change these calls to measure width in runes not bytes: fmt.Printf("(%5q)\n", '?') fmt.Printf("(%3c)\n", '?') Fixes issue 8275. LGTM=r R=golang-codereviews, r CC=golang-codereviews https://codereview.appspot.com/104320043 Committer: Rob Pike <r@golang.org>
Diffstat (limited to 'CONTRIBUTORS')
0 files changed, 0 insertions, 0 deletions