mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-14 15:28:14 +00:00
add const qualifier to the first arg of TextJoin (#5166)
* add const qualifier to the first arg of TextJoin * Update raylib_api.* by CI * Update raylib.h --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Ray <raysan5@gmail.com>
This commit is contained in:
@@ -1714,7 +1714,7 @@ char *TextInsert(const char *text, const char *insert, int position)
|
||||
|
||||
// Join text strings with delimiter
|
||||
// REQUIRES: memset(), memcpy()
|
||||
char *TextJoin(char **textList, int count, const char *delimiter)
|
||||
char *TextJoin(const char **textList, int count, const char *delimiter)
|
||||
{
|
||||
static char buffer[MAX_TEXT_BUFFER_LENGTH] = { 0 };
|
||||
memset(buffer, 0, MAX_TEXT_BUFFER_LENGTH);
|
||||
|
Reference in New Issue
Block a user