Commit 180a366d authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Add comment for reference

parent 49cd9b82
......@@ -731,7 +731,7 @@ void Screen::displayCharacter(uint c)
Q_ASSERT(oldChars);
if (((oldChars) != nullptr) && extendedCharLength < 3) {
Q_ASSERT(extendedCharLength > 1);
Q_ASSERT(extendedCharLength < 65535);
Q_ASSERT(extendedCharLength < 65535); // redundant due to above check
auto chars = new uint[extendedCharLength + 1];
memcpy(chars, oldChars, sizeof(uint) * extendedCharLength);
chars[extendedCharLength] = c;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment