Skip to content

Conversation

@grahame
Copy link

@grahame grahame commented Jan 8, 2012

having a read_chars method is convenient and more efficient.
the old read_char method had a bug due to re-use of the 'w' width variable as a loop counter and so was broken for wide characters, this patch fixes that.

(I cancelled the last pull request as I tidied the code up further.)

Grahame Bowland added 3 commits January 8, 2012 03:02
This change also fixes a bug in the old read_char method with
multi-byte utf8 characters, due to re-use of 'w' variable as a loop
counter.
@grahame grahame closed this Jan 8, 2012
Kobzol pushed a commit to Kobzol/rust that referenced this pull request Dec 30, 2024
bors pushed a commit to rust-lang-ci/rust that referenced this pull request Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant