diff options
| author | Ray <raysan5@gmail.com> | 2017-05-09 09:35:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-09 09:35:58 +0200 |
| commit | 0ca874c710aace697c5a383f41fc81abf34e2e06 (patch) | |
| tree | 804ea004f637c5514c15a116a9599a93564557ab /src/text.c | |
| parent | c785d84d30a232d9b44b6969a24103ab8da959b7 (diff) | |
| parent | 4c27412eff10f8ef633d97017dcb9e2faff4c4e1 (diff) | |
| download | raylib-0ca874c710aace697c5a383f41fc81abf34e2e06.tar.gz raylib-0ca874c710aace697c5a383f41fc81abf34e2e06.zip | |
Merge pull request #282 from raysan5/develop
Integrate Develop branch
Diffstat (limited to 'src/text.c')
| -rw-r--r-- | src/text.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -443,7 +443,7 @@ void DrawTextEx(SpriteFont spriteFont, const char *text, Vector2 position, float index = GetCharIndex(spriteFont, (int)letter + 64); i++; } - else index = GetCharIndex(spriteFont, (int)text[i]); + else index = GetCharIndex(spriteFont, (unsigned char)text[i]); DrawTexturePro(spriteFont.texture, spriteFont.chars[index].rec, (Rectangle){ position.x + textOffsetX + spriteFont.chars[index].offsetX*scaleFactor, |
