summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-10-13 19:51:13 +0300
committerAndrei Karas <akaras@inbox.ru>2017-10-13 19:51:13 +0300
commit4aac2e2129f91cc77c32b70490468c640d4e2854 (patch)
treefb1b22dd6874bc5ae4fb0e853f6c0d505f5eddae /src/gui
parentcbf9ac0e7517e9aac60cb167cb60f860839fb433 (diff)
downloadplus-4aac2e2129f91cc77c32b70490468c640d4e2854.tar.gz
plus-4aac2e2129f91cc77c32b70490468c640d4e2854.tar.bz2
plus-4aac2e2129f91cc77c32b70490468c640d4e2854.tar.xz
plus-4aac2e2129f91cc77c32b70490468c640d4e2854.zip
Fix code style.
Diffstat (limited to 'src/gui')
-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),