summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2019-05-09 10:36:00 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2019-05-09 10:36:00 +0000
commitec39ce910cbd28208609bd58c475f1d25dd47cce (patch)
tree552e2c51eb9a4b1eaf1394ea3671a228d3f22bef /games
parentc063612ebf75706f33c52380b19b75dc8890d3d2 (diff)
UTF-8 cleanup in the function pshift().
Use the standard functions mbtowc(3), wcwidth(3), iscntrl(3) instead of bad functions like get_wchar(), utf_len(), is_wide_char(), is_composing_char(), is_combining_char(), control_char(). If only half of a double-width character is shifted off screen, do not inspect anything following it because that clearly remains on-screen. Improve and add comments. OK millert@
Diffstat (limited to 'games')
0 files changed, 0 insertions, 0 deletions