aboutsummaryrefslogtreecommitdiff
path: root/graphics/surface.cpp
diff options
context:
space:
mode:
authorDenis Kasak2009-09-26 13:47:32 +0000
committerDenis Kasak2009-09-26 13:47:32 +0000
commit27a638fa824b624f425c3f548255b0736ddd9f6d (patch)
tree5146553e8ee7a39926a5c11f14bcfda8368480a4 /graphics/surface.cpp
parent84accad507657e636789d23fe457dca6f3447c23 (diff)
downloadscummvm-rg350-27a638fa824b624f425c3f548255b0736ddd9f6d.tar.gz
scummvm-rg350-27a638fa824b624f425c3f548255b0736ddd9f6d.tar.bz2
scummvm-rg350-27a638fa824b624f425c3f548255b0736ddd9f6d.zip
draci: Fixed bug in Surface::centerOn{X,Y}() which made it return a negative coordinate for strings that are too long. Resolves the crash caused by the English data files containing strings which are improperly line-breaked. Ideally, the engine should do the line-breaking itself when the string does not fit.
svn-id: r44376
Diffstat (limited to 'graphics/surface.cpp')
0 files changed, 0 insertions, 0 deletions