mirror of
https://github.com/raysan5/raygui.git
synced 2026-02-07 22:59:17 -05:00
Review literals to work with C++ and formatting details #233
This commit is contained in:
@ -4018,7 +4018,7 @@ static void GuiDrawText(const char *text, Rectangle bounds, int alignment, Color
|
||||
// TODO: Draw only required text glyphs fitting the bounds.width, '...' can be appended at the end of the text
|
||||
if (textOffsetX < bounds.width)
|
||||
{
|
||||
DrawTextCodepoint(guiFont, codepoint, (Vector2) { position.x + textOffsetX, position.y + textOffsetY }, (float)GuiGetStyle(DEFAULT, TEXT_SIZE), tint);
|
||||
DrawTextCodepoint(guiFont, codepoint, RAYGUI_CLITERAL(Vector2){ position.x + textOffsetX, position.y + textOffsetY }, (float)GuiGetStyle(DEFAULT, TEXT_SIZE), tint);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user