Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add new read_chars method, fix bug in read_char
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.
- Loading branch information
Grahame Bowland
committed
Jan 8, 2012
1 parent
e3afc78
commit bcc2563
Showing
1 changed file
with
60 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters