From 4db47dcbd635ed3643cbcf98601602f719a27d79 Mon Sep 17 00:00:00 2001 From: "Xawotihs@gmail.com" Date: Sun, 29 Jan 2012 17:20:53 +0000 Subject: [PATCH] Fixed compilation warning --- projects/mtg/src/SimpleButton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/mtg/src/SimpleButton.cpp b/projects/mtg/src/SimpleButton.cpp index 4f4bafc3c..61aa0ddd0 100644 --- a/projects/mtg/src/SimpleButton.cpp +++ b/projects/mtg/src/SimpleButton.cpp @@ -19,7 +19,7 @@ SimpleButton::SimpleButton(int id): JGuiObject(id) } SimpleButton::SimpleButton(JGuiController* _parent, int id, int fontId, string text, float x, float y, bool hasFocus, bool autoTranslate) : -JGuiObject(id), parent(_parent), mX(x), mY(y), mFontId(fontId) +JGuiObject(id), mX(x), mY(y), parent(_parent), mFontId(fontId) { mYOffset = 0; if (autoTranslate)