Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed comparison of pointer addition with NULL
The comparison was added to fix a crash under Plasma-Wayland, when the terminal was split horizontally. Instead, a simple nullity check was enough. The following compilation warning is also silenced: ``` qtermwidget/lib/TerminalCharacterDecoder.cpp:85:28: warning: comparing the result of pointer addition ‘(((const Konsole::Character*)characters) + ((sizetype)(((long unsigned int)i) * 16)))’ and NULL [-Waddress] 85 | if (characters + i == nullptr) ```
- Loading branch information