diff options
author | Torbjörn Andersson | 2015-02-08 13:56:01 +0100 |
---|---|---|
committer | Torbjörn Andersson | 2015-02-08 13:56:01 +0100 |
commit | 8725f2cff2357049a3759f24e3fa530c25644e25 (patch) | |
tree | 7be1430462462ddee7c424386d4cfa8538f2b984 /engines/zvision/scripting/controls/input_control.h | |
parent | b7b4e9cc5899eff0810d97a848ace0fa2ede5548 (diff) | |
download | scummvm-rg350-8725f2cff2357049a3759f24e3fa530c25644e25.tar.gz scummvm-rg350-8725f2cff2357049a3759f24e3fa530c25644e25.tar.bz2 scummvm-rg350-8725f2cff2357049a3759f24e3fa530c25644e25.zip |
ZVISION: Limit input text to the width of the input control
This is to prevent the player from entering ridiculously long
savegame descriptions.
Diffstat (limited to 'engines/zvision/scripting/controls/input_control.h')
-rw-r--r-- | engines/zvision/scripting/controls/input_control.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/zvision/scripting/controls/input_control.h b/engines/zvision/scripting/controls/input_control.h index e23ba0b9de..7f272e8d81 100644 --- a/engines/zvision/scripting/controls/input_control.h +++ b/engines/zvision/scripting/controls/input_control.h @@ -56,6 +56,7 @@ private: bool _readOnly; int16 _txtWidth; + int16 _maxTxtWidth; Video::VideoDecoder *_animation; int32 _frameDelay; int16 _frame; |