summaryrefslogtreecommitdiff
path: root/src/parse/properties/cursor.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/cursor.c
parent2fc4177a09cc6fc6706f84dbe157077a41b6e22b (diff)
downloadlibcss-2fcb157f28b152ba32e89baddbd811b0d6e76b79.tar.gz
libcss-2fcb157f28b152ba32e89baddbd811b0d6e76b79.tar.bz2
Strip trailing whitespace.
Diffstat (limited to 'src/parse/properties/cursor.c')
-rw-r--r--src/parse/properties/cursor.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/parse/properties/cursor.c b/src/parse/properties/cursor.c
index 6b9eadf..ad3ac47 100644
--- a/src/parse/properties/cursor.c
+++ b/src/parse/properties/cursor.c
@@ -26,8 +26,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_cursor(css_language *c,
- const parserutils_vector *vector, int *ctx,
+css_error css__parse_cursor(css_language *c,
+ const parserutils_vector *vector, int *ctx,
css_style *result)
{
int orig_ctx = *ctx;
@@ -37,11 +37,11 @@ css_error css__parse_cursor(css_language *c,
/* [ (URI ',')* IDENT(auto, crosshair, default, pointer, move, e-resize,
* ne-resize, nw-resize, n-resize, se-resize, sw-resize,
- * s-resize, w-resize, text, wait, help, progress) ]
- * | IDENT(inherit)
+ * s-resize, w-resize, text, wait, help, progress) ]
+ * | IDENT(inherit)
*/
token = parserutils_vector_iterate(vector, ctx);
- if ((token == NULL) ||
+ if ((token == NULL) ||
(token->type != CSS_TOKEN_IDENT &&
token->type != CSS_TOKEN_URI)) {
*ctx = orig_ctx;
@@ -75,8 +75,8 @@ css_error css__parse_cursor(css_language *c,
return error;
}
- error = css__stylesheet_string_add(c->sheet,
- uri,
+ error = css__stylesheet_string_add(c->sheet,
+ uri,
&uri_snumber);
if (error != CSS_OK) {
*ctx = orig_ctx;