diff options
author | Torbjörn Andersson | 2007-07-25 19:56:43 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2007-07-25 19:56:43 +0000 |
commit | 0998a2440afa101f9db1ee141f3674f8fbd85c4e (patch) | |
tree | 514b9b6a1605b7dd931dec941fdcfd9e1ef29a2b /engines/scumm/util.cpp | |
parent | 4f403f4dd356693b1ca3ef02d3b17ef8fef118e7 (diff) | |
download | scummvm-rg350-0998a2440afa101f9db1ee141f3674f8fbd85c4e.tar.gz scummvm-rg350-0998a2440afa101f9db1ee141f3674f8fbd85c4e.tar.bz2 scummvm-rg350-0998a2440afa101f9db1ee141f3674f8fbd85c4e.zip |
The drawStripToScreen() does nothing if width <= 0. In bug #1759925 ("COMI:
100% crash in SVN (not in 0.X.0)"), height was a fairly large negative number,
so I've added a test for that condition as well. This seems to fix the bug.
svn-id: r28199
Diffstat (limited to 'engines/scumm/util.cpp')
0 files changed, 0 insertions, 0 deletions