forked from zig-gamedev/zig-gamedev
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[zgui] Fixed buffer type for inputText* to include null sentinel.
The slice length is for maximum text length, whereas the sentinel denotes the current text length. Added output of current text length, which would have errored before this change since the buffers didn't include a sentinel in their type. See https://github.com/zig-gamedev/zig-gamedev/issues/352#issuecomment-2038175998
- Loading branch information
1 parent
064c6f9
commit 9fca180
Showing
2 changed files
with
42 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters