summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/models/updatelistmodel.h4
-rw-r--r--src/gui/palette.cpp4
-rw-r--r--src/gui/windows/questswindow.cpp2
3 files changed, 6 insertions, 4 deletions
diff --git a/src/gui/models/updatelistmodel.h b/src/gui/models/updatelistmodel.h
index bddc7c2a2..37d5a8d12 100644
--- a/src/gui/models/updatelistmodel.h
+++ b/src/gui/models/updatelistmodel.h
@@ -39,7 +39,9 @@ class UpdateListModel final : public ListModel
mNames(),
mServer(server)
{
- FOR_EACH(std::vector<HostsGroup>::const_iterator, it, server->updateHosts)
+ FOR_EACH(std::vector<HostsGroup>::const_iterator,
+ it,
+ server->updateHosts)
{
const HostsGroup &group = *it;
mNames.push_back(group.name);
diff --git a/src/gui/palette.cpp b/src/gui/palette.cpp
index 0e3f9560c..cedfb0f86 100644
--- a/src/gui/palette.cpp
+++ b/src/gui/palette.cpp
@@ -132,7 +132,7 @@ void Palette::advanceGradient()
else if (grad == GradientType::SPECTRUM)
{
if (colIndex % 2)
- { // falling curve
+ { // falling curve
if (delay)
{
colVal = CAST_S32(255.0 *
@@ -145,7 +145,7 @@ void Palette::advanceGradient()
}
}
else
- { // ascending curve
+ { // ascending curve
if (delay)
{
colVal = CAST_S32(255.0 * (cos(M_PI *
diff --git a/src/gui/windows/questswindow.cpp b/src/gui/windows/questswindow.cpp
index 080c0bdd2..eed82636b 100644
--- a/src/gui/windows/questswindow.cpp
+++ b/src/gui/windows/questswindow.cpp
@@ -563,7 +563,7 @@ void QuestsWindow::updateEffects()
{ // in new list exists effect for this npc
const QuestEffect *const newEffect = (*itNew).second;
if (effect != newEffect)
- { // new effects is not equal to old effect
+ { // new effects is not equal to old effect
addEffects[id] = newEffect->effectId;
removeEffects.insert(id);
}