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:
parent
d7eb8a7ec5
commit
1a786bc9b7
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user