diff options
author | Joseph-Eugene Winzer | 2017-08-23 03:25:48 +0200 |
---|---|---|
committer | Thierry Crozat | 2018-01-23 01:47:01 +0000 |
commit | b64248981b917f7772413b0dd1af46ff6fc78d89 (patch) | |
tree | 3c0865723c0f732113fdc74a42776ce04d0a6cb5 /graphics/macgui/macwindowmanager.cpp | |
parent | 2c0518e0babfea3c2b656f58af98aa373d3bf684 (diff) | |
download | scummvm-rg350-b64248981b917f7772413b0dd1af46ff6fc78d89.tar.gz scummvm-rg350-b64248981b917f7772413b0dd1af46ff6fc78d89.tar.bz2 scummvm-rg350-b64248981b917f7772413b0dd1af46ff6fc78d89.zip |
SUPERNOVA: Fixes too large edit() field
Before edit() cleared the input on screen by overdrawing it from x to
the right side of the screen. This works fine for terminals but for
example setting the watches alarm time it does not.
The text font is 5x8 so overdrawing the max input length + 1 * 5 is
sufficient to clear the screen from our input and the cursor. Also if
the value ends up being too big it is clamped to the right side
of the screen.
Diffstat (limited to 'graphics/macgui/macwindowmanager.cpp')
0 files changed, 0 insertions, 0 deletions