summaryrefslogtreecommitdiff
path: root/src/gui/models/playertablemodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/models/playertablemodel.cpp')
-rw-r--r--src/gui/models/playertablemodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/models/playertablemodel.cpp b/src/gui/models/playertablemodel.cpp
index 271b6a5bb..161e82dc2 100644
--- a/src/gui/models/playertablemodel.cpp
+++ b/src/gui/models/playertablemodel.cpp
@@ -45,7 +45,7 @@ static const unsigned int ROW_HEIGHT = 12;
static const unsigned int NAME_COLUMN_WIDTH = 230;
static const unsigned int RELATION_CHOICE_COLUMN_WIDTH = 80;
-#define WIDGET_AT(row, column) (((row) * COLUMNS_NR) + column)
+#define WIDGET_AT(row, column) (((row) * COLUMNS_NR) + (column))
PlayerTableModel::PlayerTableModel(const Widget2 *const widget) :
Widget2(widget),