Remove trailing comma after reading strParseIntWithKey
This commit is contained in:
parent
e23b39abaa
commit
058e4e743a
|
@ -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