What's going here?
|
//char textValue[RAYGUI_VALUEBOX_MAX_CHARS + 1] = "\0"; |
If comparing to
GuiValueBox it has member variable
char textValue[RAYGUI_VALUEBOX_MAX_CHARS + 1] with predefined size. But
GuiValueBox takes it in as an argument and modifies it.
If I'm leaving it blank with
"" it kinda works.
It is manipulating
text argument by showing value, except lost first symbol. Seems like a stack overflow.