summaryrefslogtreecommitdiff
path: root/json-glib/json-path.c
diff options
context:
space:
mode:
Diffstat (limited to 'json-glib/json-path.c')
-rw-r--r--json-glib/json-path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/json-glib/json-path.c b/json-glib/json-path.c
index 4604cd9..c325da5 100644
--- a/json-glib/json-path.c
+++ b/json-glib/json-path.c
@@ -391,9 +391,9 @@ json_path_compile (JsonPath *path,
if (!(*(p + 1) == '.' || *(p + 1) == '[' || *(p + 1) == '\0'))
{
- /* translators: the %c is the invalid character */
g_set_error (error, JSON_PATH_ERROR,
JSON_PATH_ERROR_INVALID_QUERY,
+ /* translators: the %c is the invalid character */
_("Root node followed by invalid character '%c'"),
*(p + 1));
return FALSE;