From 3205ebdc8b46d72e13e5e5962e5535c153bbaad1 Mon Sep 17 00:00:00 2001 From: "techdragon.nguyen@gmail.com" Date: Sun, 28 Nov 2010 22:14:20 +0000 Subject: [PATCH] minor formatting issue --- projects/mtg/src/SimpleMenu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {