summaryrefslogtreecommitdiff
path: root/src/texteff.hpp
diff options
context:
space:
mode:
authorPeterN <peter1138@openttd.org>2021-05-02 10:21:27 +0100
committerGitHub <noreply@github.com>2021-05-02 10:21:27 +0100
commit256dbee25597f4da8726063084f94eb821babf14 (patch)
tree7d9293d36f49454228043f14943fff2dc529f5fc /src/texteff.hpp
parent18fb1c386689f12d2a7e767d9372020c0a8d9fea (diff)
downloadopenttd-256dbee25597f4da8726063084f94eb821babf14.tar.xz
Fix: Crash when extra viewport height is zero with sign in view. (#9175)
If a viewport sign straddles the top of a viewport, a crash will occur if the viewport height is zero. This is resolved by simply not attempting to draw the viewport in this situation, consistent with other widgets.
Diffstat (limited to 'src/texteff.hpp')
0 files changed, 0 insertions, 0 deletions