瀏覽代碼

Corrected issue #281

pull/282/head
Ray 8 年之前
committed by GitHub
父節點
當前提交
4c27412eff
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/text.c

+ 1
- 1
src/text.c 查看文件

@ -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,

Loading…
取消
儲存