summaryrefslogtreecommitdiff
path: root/src/sprite.cpp
diff options
context:
space:
mode:
authorNikolas Nyby <nikolas@gnu.org>2019-01-28 21:54:32 -0500
committerPeterN <peter@fuzzle.org>2019-01-29 07:18:48 +0000
commit6a56a4ce84165ad85d4e66944ef6691d94c9d0c3 (patch)
treef8d2c0ef128b18f6b36a2d002331e19c4ea3eb6e /src/sprite.cpp
parentb22fbfbe3ddb1b965efdc948fe47cf9002cd3c71 (diff)
downloadopenttd-6a56a4ce84165ad85d4e66944ef6691d94c9d0c3.tar.xz
Fix #6584: text layout problem in engine preview dialog
With language set to German, there was a problem in this dialog box due to the long strings in this language. It looks like the call to `GetStringHeight()` here is using `r.top` to help calculate the max width, rather than `r.left`.
Diffstat (limited to 'src/sprite.cpp')
0 files changed, 0 insertions, 0 deletions