aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/detection.cpp
diff options
context:
space:
mode:
authorDenis Kasak2009-06-12 10:22:43 +0000
committerDenis Kasak2009-06-12 10:22:43 +0000
commit32d12e90e3624e57d5f0eb1176f542ec44bd9ef8 (patch)
tree2251366042bdc849109ca35b9219486c1eeac068 /engines/draci/detection.cpp
parent2308748f01e5ef80c22bd489a218aeee85250aa3 (diff)
downloadscummvm-rg350-32d12e90e3624e57d5f0eb1176f542ec44bd9ef8.tar.gz
scummvm-rg350-32d12e90e3624e57d5f0eb1176f542ec44bd9ef8.tar.bz2
scummvm-rg350-32d12e90e3624e57d5f0eb1176f542ec44bd9ef8.zip
Removed overflow/underflow checks from DraciFont::drawChar(). Instead, we now calculate the number of pixels that can be drawn without overflowing beforehand. Also added asserts to catch any negative value passed for the coordinates.
svn-id: r41471
Diffstat (limited to 'engines/draci/detection.cpp')
0 files changed, 0 insertions, 0 deletions