summaryrefslogtreecommitdiffhomepage
path: root/parser/raylib_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'parser/raylib_parser.c')
-rw-r--r--parser/raylib_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser/raylib_parser.c b/parser/raylib_parser.c
index e60f7de8..751e0cad 100644
--- a/parser/raylib_parser.c
+++ b/parser/raylib_parser.c
@@ -703,7 +703,7 @@ void GetDataTypeAndName(const char *typeName, int typeNameLen, char *type, char
{
for (int k = typeNameLen; k > 0; k--)
{
- if (typeName[k] == ' ')
+ if (typeName[k] == ' ' && typeName[k - 1] != ',')
{
// Function name starts at this point (and ret type finishes at this point)
MemoryCopy(type, typeName, k);