Fixes logic error in the flip functions.
@@ -832,12 +832,10 @@ public class AsciiString {
final int endIndex = range.getEnd();
for (int columnIndex = beginIndex ; columnIndex < endIndex ; columnIndex++) {
- if (characters[columnIndex].isFlippedHorizontally() == false) {
charactersToBeRedrawn[columnIndex] = true;
characters[columnIndex].setFlippedHorizontally(flipHorizontally);
}
}
- }
/**
* Sets the specified range of characters to either be flipped vertically
@@ -856,12 +854,10 @@ public class AsciiString {
final int endIndex = range.getEnd();
for (int columnIndex = beginIndex ; columnIndex < endIndex ; columnIndex++) {
- if (characters[columnIndex].isFlippedVertically() == false) {
charactersToBeRedrawn[columnIndex] = flipVertically;
characters[columnIndex].setFlippedVertically(true);
}
}
- }
/**
* Sets all characters to either be underlined or not underlined when
