Fewer casts; more sensible representation of data; removed potential problems with high-bit chars (not tested).
Fewer casts; more sensible representation of data; removed potential
problems with high-bit chars (not tested).

BurningEnlightenment/PDCurses,BurningEnlightenment/PDCurses,BurningEnlightenment/PDCurses