aboutsummaryrefslogtreecommitdiff
path: root/engines/cine
diff options
context:
space:
mode:
authorJohannes Schickel2010-01-03 21:07:56 +0000
committerJohannes Schickel2010-01-03 21:07:56 +0000
commit770b2f78d4120074e544f9acc0c6449a9c032fa6 (patch)
treec82a361b5ae82ef73569bb386daaea65b0b04ffd /engines/cine
parenteccf0cc429a0d79ce81a0813305279b9377169f9 (diff)
downloadscummvm-rg350-770b2f78d4120074e544f9acc0c6449a9c032fa6.tar.gz
scummvm-rg350-770b2f78d4120074e544f9acc0c6449a9c032fa6.tar.bz2
scummvm-rg350-770b2f78d4120074e544f9acc0c6449a9c032fa6.zip
Setup the dimensions of GuiObject in the constructor, by using reflowLayout.
This properly initializes _x, _y, _w and _h, which might be used uninitialized otherwise. This probably lead to a creash for _sev, when drawing the tab widget, before GuiObject::reflowLayout had been called. FYI GuiObject::reflowLayout is usually only called on layout changes (i.e. resolution changes etc.), thus it might not be called before drawing a newly created widget. svn-id: r46947
Diffstat (limited to 'engines/cine')
0 files changed, 0 insertions, 0 deletions