diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-19 18:37:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-19 18:37:20 +0300 |
commit | 0664fee5aeae578dd3d5d6f02332719c3e9af1cb (patch) | |
tree | ff995437ec7900c09e43365af074de1813fd434c /src/gui | |
parent | 29183043d599655143633daa9f22f310f97a1b54 (diff) | |
download | manaverse-0664fee5aeae578dd3d5d6f02332719c3e9af1cb.tar.gz manaverse-0664fee5aeae578dd3d5d6f02332719c3e9af1cb.tar.bz2 manaverse-0664fee5aeae578dd3d5d6f02332719c3e9af1cb.tar.xz manaverse-0664fee5aeae578dd3d5d6f02332719c3e9af1cb.zip |
Improve font.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/font.cpp | 2 | ||||
-rw-r--r-- | src/gui/font.h | 2 |
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(); |