spa: fix spelling

This commit is contained in:
Pauli Virtanen 2024-03-27 18:38:06 +02:00
parent 3e99a0e839
commit 27ccf32030

View file

@ -316,18 +316,18 @@ static inline bool spa_json_get_error(struct spa_json *iter, const char *start,
static const char *reasons[] = { static const char *reasons[] = {
"System error", "System error",
"Invalid array separator", "Invalid array separator",
"Expected Object key", "Expected object key",
"Expected Object value", "Expected object value",
"Too deep nesting", "Too deep nesting",
"Expected array close backet", "Expected array close bracket",
"Expected object close backet", "Expected object close brace",
"Mismatched backet", "Mismatched bracket",
"Escape not allowed", "Escape not allowed",
"Character not allowed", "Character not allowed",
"Invalid escape", "Invalid escape",
"Invalid state", "Invalid state",
"Unfinished string", "Unfinished string",
"Expected key separtor", "Expected key separator",
}; };
if (!(iter->state & SPA_JSON_ERROR_FLAG)) if (!(iter->state & SPA_JSON_ERROR_FLAG))