summaryrefslogtreecommitdiff
path: root/src/parse/properties/azimuth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/properties/azimuth.c')
-rw-r--r--src/parse/properties/azimuth.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/parse/properties/azimuth.c b/src/parse/properties/azimuth.c
index 7df7298..f54189b 100644
--- a/src/parse/properties/azimuth.c
+++ b/src/parse/properties/azimuth.c
@@ -27,8 +27,8 @@
* Post condition: \a *ctx is updated with the next token to process
* If the input is invalid, then \a *ctx remains unchanged.
*/
-css_error css__parse_azimuth(css_language *c,
- const parserutils_vector *vector, int *ctx,
+css_error css__parse_azimuth(css_language *c,
+ const parserutils_vector *vector, int *ctx,
css_style *result)
{
int orig_ctx = *ctx;
@@ -40,10 +40,10 @@ css_error css__parse_azimuth(css_language *c,
uint32_t unit = 0;
bool match;
- /* angle | [ IDENT(left-side, far-left, left, center-left, center,
- * center-right, right, far-right, right-side) ||
- * IDENT(behind)
- * ]
+ /* angle | [ IDENT(left-side, far-left, left, center-left, center,
+ * center-right, right, far-right, right-side) ||
+ * IDENT(behind)
+ * ]
* | IDENT(leftwards, rightwards, inherit)
*/
token = parserutils_vector_peek(vector, *ctx);
@@ -71,7 +71,7 @@ css_error css__parse_azimuth(css_language *c,
parserutils_vector_iterate(vector, ctx);
/* Now, we may have one of the other keywords or behind,
- * potentially followed by behind or other keyword,
+ * potentially followed by behind or other keyword,
* respectively */
if ((lwc_string_caseless_isequal(
token->idata, c->strings[LEFT_SIDE],
@@ -184,7 +184,7 @@ css_error css__parse_azimuth(css_language *c,
value |= AZIMUTH_CENTER;
}
} else {
- error = css__parse_unit_specifier(c, vector, ctx, UNIT_DEG,
+ error = css__parse_unit_specifier(c, vector, ctx, UNIT_DEG,
&length, &unit);
if (error != CSS_OK) {
*ctx = orig_ctx;