GUI: Fix Usage of Uninitialized Variable in Theme Layout RTL Code
This commit is contained in:
parent
fe30434a2e
commit
fffa98669c
1 changed files with 2 additions and 1 deletions
|
@ -115,6 +115,7 @@ protected:
|
|||
|
||||
public:
|
||||
virtual bool getWidgetData(const Common::String &name, int16 &x, int16 &y, int16 &w, int16 &h, bool &useRTL);
|
||||
bool getUseRTL() { return _useRTL; }
|
||||
|
||||
virtual Graphics::TextAlign getWidgetTextHAlign(const Common::String &name);
|
||||
|
||||
|
@ -255,7 +256,7 @@ class ThemeLayoutTabWidget : public ThemeLayoutWidget {
|
|||
|
||||
public:
|
||||
ThemeLayoutTabWidget(ThemeLayout *p, const Common::String &name, int16 w, int16 h, Graphics::TextAlign align, int tabHeight):
|
||||
ThemeLayoutWidget(p, name, w, h, align, _useRTL) {
|
||||
ThemeLayoutWidget(p, name, w, h, align, p->getUseRTL()) {
|
||||
_tabHeight = tabHeight;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue