diff --git a/projects/mtg/src/SimpleMenu.cpp b/projects/mtg/src/SimpleMenu.cpp index 252686e3d..5e88176b1 100644 --- a/projects/mtg/src/SimpleMenu.cpp +++ b/projects/mtg/src/SimpleMenu.cpp @@ -99,8 +99,8 @@ void SimpleMenu::Render() float width = (static_cast (mObjects[i]))->GetWidth(); if (mWidth < width) mWidth = width; } - if ((!title.empty()) && (mWidth < titleFont->GetStringWidth(title.c_str()))) mWidth = titleFont->GetStringWidth( - title.c_str()); + if ((!title.empty()) && (mWidth < titleFont->GetStringWidth(title.c_str()))) + mWidth = titleFont->GetStringWidth(title.c_str()); mWidth += 2 * kHorizontalMargin; for (int i = startId; i < startId + mCount; ++i) {