Update raygui.h (#323)

* Update raygui.h

Add pointers for correctness

* Update raygui.h

Move star to match raygui coding style
This commit is contained in:
manuel5975p 2023-08-29 00:53:10 +02:00 committed by GitHub
parent d7eb8a7ec5
commit 1a786bc9b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4524,7 +4524,7 @@ const char **GetTextLines(const char *text, int *count)
}
// Get text width to next space for provided string
static int GetNextSpaceWidth(const char *text, int nextSpaceIndex)
static int GetNextSpaceWidth(const char *text, int *nextSpaceIndex)
{
int width = 0;
int codepointByteCount = 0;
@ -4544,7 +4544,7 @@ static int GetNextSpaceWidth(const char *text, int nextSpaceIndex)
}
else
{
nextSpaceIndex = i;
*nextSpaceIndex = i;
break;
}
}