summaryrefslogtreecommitdiff
path: root/src/gui/windows/charcreatedialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/charcreatedialog.cpp')
-rw-r--r--src/gui/windows/charcreatedialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/windows/charcreatedialog.cpp b/src/gui/windows/charcreatedialog.cpp
index 49dcd8314..852dbc2cc 100644
--- a/src/gui/windows/charcreatedialog.cpp
+++ b/src/gui/windows/charcreatedialog.cpp
@@ -163,12 +163,12 @@ CharCreateDialog::CharCreateDialog(CharSelectDialog *const parent,
beingSlot.cardsId);
}
- if (maxHairColor == 0u)
+ if (maxHairColor == 0U)
maxHairColor = ColorDB::getHairSize();
- if (maxHairStyle == 0u)
+ if (maxHairStyle == 0U)
maxHairStyle = ItemDB::getNumOfHairstyles();
- if (maxHairStyle != 0u)
+ if (maxHairStyle != 0U)
{
mHairStyle = (CAST_U32(rand())
% maxHairStyle) + minHairStyle;
@@ -177,7 +177,7 @@ CharCreateDialog::CharCreateDialog(CharSelectDialog *const parent,
{
mHairStyle = 0;
}
- if (maxHairColor != 0u)
+ if (maxHairColor != 0U)
{
mHairColor = (CAST_U32(rand())
% maxHairColor) + minHairColor;