From 0664fee5aeae578dd3d5d6f02332719c3e9af1cb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 19 Mar 2014 18:37:20 +0300 Subject: Improve font. --- src/gui/font.cpp | 2 +- src/gui/font.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui') 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(); -- cgit v1.2.3-70-g09d2