summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-24 12:16:45 -0700
committerIra Rice <irarice@gmail.com>2009-01-24 12:16:45 -0700
commitc4fd3e6090fb94a77055f4556d906e60e3803d22 (patch)
treeca9a985319df21bc1025a5e813f3a5d3c074a3db
parentcee64c1215948a92f7b7bd569134c8e8a393f95c (diff)
downloadmana-client-c4fd3e6090fb94a77055f4556d906e60e3803d22.tar.gz
mana-client-c4fd3e6090fb94a77055f4556d906e60e3803d22.tar.bz2
mana-client-c4fd3e6090fb94a77055f4556d906e60e3803d22.tar.xz
mana-client-c4fd3e6090fb94a77055f4556d906e60e3803d22.zip
Fixed a few compiler warnings.
Signed-off-by: Ira Rice <irarice@gmail.com>
-rw-r--r--src/gui/status.cpp6
-rw-r--r--src/gui/table_model.cpp4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/status.cpp b/src/gui/status.cpp
index f7a5c137..5cc0e80b 100644
--- a/src/gui/status.cpp
+++ b/src/gui/status.cpp
@@ -131,9 +131,9 @@ StatusWindow::StatusWindow(LocalPlayer *player):
mStatsDefenseLabel= new gcn::Label(_("Defense:"));
mStatsMagicAttackLabel = new gcn::Label(_("M.Attack:"));
mStatsMagicDefenseLabel = new gcn::Label(_("M.Defense:"));
- mStatsAccuracyLabel = new gcn::Label(_("\% Accuracy:"));
- mStatsEvadeLabel = new gcn::Label(_("\% Evade:"));
- mStatsReflexLabel = new gcn::Label(_("\% Reflex:"));
+ mStatsAccuracyLabel = new gcn::Label(_("% Accuracy:"));
+ mStatsEvadeLabel = new gcn::Label(_("% Evade:"));
+ mStatsReflexLabel = new gcn::Label(_("% Reflex:"));
mStatsAttackPoints = new gcn::Label;
mStatsDefensePoints = new gcn::Label;
diff --git a/src/gui/table_model.cpp b/src/gui/table_model.cpp
index a6904fd1..0b31369f 100644
--- a/src/gui/table_model.cpp
+++ b/src/gui/table_model.cpp
@@ -59,8 +59,8 @@ StaticTableModel::StaticTableModel(int row, int column,
mRows(row),
mColumns(column),
mHeight(1),
- mBackgroundColor(backgroundColor),
- mOpaque(opacity)
+ mOpaque(opacity),
+ mBackgroundColor(backgroundColor)
{
mTableModel.resize(row * column, NULL);
mWidths.resize(column, 1);