diff options
author | PeterN <peter1138@openttd.org> | 2021-05-02 10:21:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-02 10:21:27 +0100 |
commit | 256dbee25597f4da8726063084f94eb821babf14 (patch) | |
tree | 7d9293d36f49454228043f14943fff2dc529f5fc /src/graph_gui.h | |
parent | 18fb1c386689f12d2a7e767d9372020c0a8d9fea (diff) | |
download | openttd-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/graph_gui.h')
0 files changed, 0 insertions, 0 deletions