mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
d/vive: Fix _json_get_string
This commit is contained in:
parent
2c818d5051
commit
e3b74c2e70
|
@ -610,7 +610,7 @@ static char *
|
|||
_json_get_string(const cJSON *json, const char *name)
|
||||
{
|
||||
const cJSON *item = cJSON_GetObjectItemCaseSensitive(json, name);
|
||||
return strdup(item->string);
|
||||
return strdup(item->valuestring);
|
||||
}
|
||||
|
||||
static double
|
||||
|
|
Loading…
Reference in a new issue