Remove trailing comma after reading strParseIntWithKey (#259)
This commit is contained in:
parent
42c541012c
commit
53a4437be9
|
@ -208,6 +208,10 @@ int strParseIntWithKey(char** stringPtr, const char* key, int* valuePtr, const c
|
||||||
*(str + v4) = tmp2;
|
*(str + v4) = tmp2;
|
||||||
*(str + v2) = tmp1;
|
*(str + v2) = tmp1;
|
||||||
|
|
||||||
|
if (**stringPtr == ',') {
|
||||||
|
*stringPtr = *stringPtr + 1;
|
||||||
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue