summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ui/ui_shared.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/ui_shared.c b/src/ui/ui_shared.c
index 3ffe8676..817f573e 100644
--- a/src/ui/ui_shared.c
+++ b/src/ui/ui_shared.c
@@ -1949,7 +1949,7 @@ float UI_Text_Width( const char *text, float scale, int limit )
}
if( UI_Text_IsEmoticon( s, &emoticonEscaped, &emoticonLen,
- NULL, &emoticonWidth ) )
+ NULL, &emoticonWidth ) )
{
if( emoticonEscaped )
s++;
@@ -2137,7 +2137,7 @@ static void UI_Text_Paint_Generic( float x, float y, float scale, float gapAdjus
}
if( UI_Text_IsEmoticon( s, &emoticonEscaped, &emoticonLen,
- &emoticonHandle, &emoticonWidth ) )
+ &emoticonHandle, &emoticonWidth ) )
{
if( emoticonEscaped )
s++;