b277fb56f9
1) add missing (unsigned char) cast to ctype() macro 2) fix off-by-one error causing last letter always doubled