diff options
author | FalseHonesty <thefalsehonesty@gmail.com> | 2020-05-29 14:10:36 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-29 20:17:53 +0200 |
commit | b0b03c52af284e1473361bd211d8ad422f24faee (patch) | |
tree | 2dd9e1edfeb8471e93885c9544c9aa06c625ccb0 /Toolchain | |
parent | 2a241a11bbfaad4ec27b0dc051958426df3f22e1 (diff) | |
download | serenity-b0b03c52af284e1473361bd211d8ad422f24faee.zip |
LibGUI: Fix TextEditor crashing when selecting a blank line
Previously, the TextEditor would crash when selecting a line with
no codepoints due to a null dereference, so this patch makes sure
there is actually any text to render before giving it to the painter.
Diffstat (limited to 'Toolchain')
0 files changed, 0 insertions, 0 deletions