summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/font.cpp2
-rw-r--r--src/gui/font.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/font.cpp b/src/gui/font.cpp
index 8c022f99d..cf3116631 100644
--- a/src/gui/font.cpp
+++ b/src/gui/font.cpp
@@ -294,7 +294,7 @@ void TextChunkList::insertFirst(SDLTextChunk *const item)
searchWidth[item->text] = item;
}
-void TextChunkList::moveToFirst(SDLTextChunk *item)
+void TextChunkList::moveToFirst(SDLTextChunk *const item)
{
if (item == start)
return;
diff --git a/src/gui/font.h b/src/gui/font.h
index 12ba473d8..ee1742942 100644
--- a/src/gui/font.h
+++ b/src/gui/font.h
@@ -130,7 +130,7 @@ class TextChunkList final
void insertFirst(SDLTextChunk *const item);
- void moveToFirst(SDLTextChunk *item);
+ void moveToFirst(SDLTextChunk *const item);
void removeBack();