Rewrites the setCharacter function to use a char rather than an AsciiCharacter.
@@ -149,14 +149,12 @@ public class AsciiString {
* @param character
* The new character.
*/
- public void setCharacter(int columnIndex, final AsciiCharacter character) {
- if (character != null) {
+ public void setCharacter(final int columnIndex, final char character) {
if (columnIndex >= 0 && columnIndex < characters.length) {
- characters[columnIndex] = character;
+ characters[columnIndex].setCharacter(character);
charactersToBeRedrawn[columnIndex] = true;
}
}
- }
/**
* Sets every character in the specified range to the specified character.
