summaryrefslogtreecommitdiff
path: root/src/parse/properties/cue.c
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2017-09-04 14:56:51 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2017-09-04 14:56:51 +0100
commit2fcb157f28b152ba32e89baddbd811b0d6e76b79 (patch)
tree30f96332ac7993ff4acf88b4892f922a80ddd393 /src/parse/properties/cue.c
parent2fc4177a09cc6fc6706f84dbe157077a41b6e22b (diff)
downloadlibcss-2fcb157f28b152ba32e89baddbd811b0d6e76b79.tar.gz
libcss-2fcb157f28b152ba32e89baddbd811b0d6e76b79.tar.bz2
Strip trailing whitespace.
Diffstat (limited to 'src/parse/properties/cue.c')
-rw-r--r--src/parse/properties/cue.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/parse/properties/cue.c b/src/parse/properties/cue.c
index ea94adb..eef10d1 100644
--- a/src/parse/properties/cue.c
+++ b/src/parse/properties/cue.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_cue(css_language *c,
- const parserutils_vector *vector, int *ctx,
+css_error css__parse_cue(css_language *c,
+ const parserutils_vector *vector, int *ctx,
css_style *result)
{
int orig_ctx = *ctx;
@@ -47,7 +47,7 @@ css_error css__parse_cue(css_language *c,
error = css__parse_cue_before(c, vector, ctx, result);
if (error == CSS_OK) {
/* first token parsed */
-
+
consumeWhitespace(vector, ctx);
token = parserutils_vector_peek(vector, *ctx);
@@ -62,7 +62,7 @@ css_error css__parse_cue(css_language *c,
error = CSS_INVALID;
} else {
error = css__parse_cue_after(c, vector, ctx, result);
- if (error == CSS_OK) {
+ if (error == CSS_OK) {
/* second token parsed */
if (is_css_inherit(c, first_token)) {
/* valid second token after inherit */