Screen: Fix potential crash when ExtendedCharTable tries to clean

wilder-portage
Martin T. H. Sandsmark 9 years ago
parent 7aef6a35f7
commit 27da40a0c6
  1. 2
      src/Screen.h

@ -580,7 +580,7 @@ public:
QSet<ushort> result;
for (int i = 0; i < _lines; ++i) {
const ImageLine& il = _screenLines[i];
for (int j = 0; j < _columns; ++j) {
for (int j = 0; j < il.length(); ++j) {
if (il[j].rendition & RE_EXTENDED_CHAR) {
result << il[j].character;
}

Loading…
Cancel
Save