mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 08:38:43 +08:00
[c] Closes #690, resetting old locale should work now
This commit is contained in:
parent
1f9649e7df
commit
684f6dcf3e
@ -569,7 +569,8 @@ spSkeletonData* spSkeletonJson_readSkeletonData (spSkeletonJson* self, const cha
|
||||
CONST_CAST(char*, self->error) = 0;
|
||||
internal->linkedMeshCount = 0;
|
||||
|
||||
oldLocale = setlocale(LC_NUMERIC, "C");
|
||||
oldLocale = setlocale(LC_NUMERIC, NULL);
|
||||
setlocale(LC_NUMERIC, "C");
|
||||
root = Json_create(json);
|
||||
setlocale(LC_NUMERIC, oldLocale);
|
||||
if (!root) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user