Skip to content

Commit

Permalink
Fix CEGUI font tab bug
Browse files Browse the repository at this point in the history
  • Loading branch information
darkdreamingdan committed Aug 1, 2016
1 parent 84811a6 commit cde2b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/cegui-0.4.0-custom/src/elements/CEGUITabControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ void TabControl::onFontChanged(WindowEventArgs& e)
// Propagate font change to buttons
TabButtonIndexMap::iterator i, iend;
iend = d_tabButtonIndexMap.end();
for (i = d_tabButtonIndexMap.end(); i != iend; ++i)
for (i = d_tabButtonIndexMap.begin(); i != iend; ++i)
{
i->second->setFont(getFont());
}
Expand Down

0 comments on commit cde2b15

Please sign in to comment.