diff --git a/src/scanner.c b/src/scanner.c index 428e1686..ca70aa35 100644 --- a/src/scanner.c +++ b/src/scanner.c @@ -3234,7 +3234,7 @@ yaml_parser_scan_flow_scalar(yaml_parser_t *parser, yaml_token_t *token, for (k = 0; k < code_length; k ++) { if (!IS_HEX_AT(parser->buffer, k)) { yaml_parser_set_scanner_error(parser, "while parsing a quoted scalar", - start_mark, "did not find expected hexdecimal number"); + start_mark, "did not find expected hexadecimal number"); goto error; } value = (value << 4) + AS_HEX_AT(parser->buffer, k); diff --git a/tests/example-deconstructor-alt.c b/tests/example-deconstructor-alt.c index b29c0777..878f83eb 100644 --- a/tests/example-deconstructor-alt.c +++ b/tests/example-deconstructor-alt.c @@ -76,7 +76,7 @@ main(int argc, char *argv[]) if (!yaml_emitter_initialize(&emitter)) { yaml_parser_delete(&parser); - fprintf(stderr, "Could not inialize the emitter object\n"); + fprintf(stderr, "Could not initialize the emitter object\n"); return 1; } diff --git a/tests/example-deconstructor.c b/tests/example-deconstructor.c index e048ee6b..f34350b9 100644 --- a/tests/example-deconstructor.c +++ b/tests/example-deconstructor.c @@ -74,7 +74,7 @@ main(int argc, char *argv[]) if (!yaml_emitter_initialize(&emitter)) { yaml_parser_delete(&parser); - fprintf(stderr, "Could not inialize the emitter object\n"); + fprintf(stderr, "Could not initialize the emitter object\n"); return 1; }