summaryrefslogtreecommitdiff
path: root/src/text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/text.cpp')
-rw-r--r--src/text.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/text.cpp b/src/text.cpp
index bec055f60..8dca7d366 100644
--- a/src/text.cpp
+++ b/src/text.cpp
@@ -134,9 +134,10 @@ void Text::setColor(const Color *const color)
}
}
-void Text::adviseXY(const int x, const int y, const bool move)
+void Text::adviseXY(const int x, const int y,
+ const Move move)
{
- if (textManager && move)
+ if (textManager && move == Move_true)
{
textManager->moveText(this, x - mXOffset, y);
}