Fixed compilation warning

This commit is contained in:
Xawotihs@gmail.com
2012-01-23 19:37:36 +00:00
parent 519cd3bd69
commit 350b28d81f

View File

@@ -12,7 +12,7 @@ SimpleMenuItem::SimpleMenuItem(int id): JGuiObject(id)
}
SimpleMenuItem::SimpleMenuItem(SimpleMenu* _parent, int id, int fontId, string text, float x, float y, bool hasFocus, bool autoTranslate) :
JGuiObject(id), parent(_parent), mFontId(fontId), mX(x), mY(y)
JGuiObject(id), parent(_parent), mX(x), mY(y), mFontId(fontId)
{
if (autoTranslate)
mText = _(text);