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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/models/playertablemodel.cpp b/src/gui/models/playertablemodel.cpp
index 80eab3694..e3458abc3 100644
--- a/src/gui/models/playertablemodel.cpp
+++ b/src/gui/models/playertablemodel.cpp
@@ -100,8 +100,8 @@ void PlayerTableModel::playerRelationsUpdated()
mPlayers = player_names;
// set up widgets
- for (unsigned int r = 0, sz = CAST_U32(
- player_names->size()); r < sz; ++r)
+ for (unsigned int r = 0, fsz = CAST_U32(
+ player_names->size()); r < fsz; ++r)
{
const std::string name = (*player_names)[r];
Widget *const widget = new Label(this, name);