summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorJohn Tytgat <joty@netsurf-browser.org>2008-09-28 22:37:13 +0000
committerJohn Tytgat <joty@netsurf-browser.org>2008-09-28 22:37:13 +0000
commit2d1481fafc6fd98c5ca8fc46562b725441a0f594 (patch)
treee28954b7171a739df009d87e8a33c35e2d1c7dc6 /css
parentf0926760125501228b2b506c92e8e2bf6fdd83e6 (diff)
downloadnetsurf-2d1481fafc6fd98c5ca8fc46562b725441a0f594.tar.gz
netsurf-2d1481fafc6fd98c5ca8fc46562b725441a0f594.tar.bz2
'unsigned long' -> 'colour' where it made sense.
svn path=/trunk/netsurf/; revision=5459
Diffstat (limited to 'css')
-rw-r--r--css/css.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/css/css.c b/css/css.c
index b848f84e3..462c4d5e4 100644
--- a/css/css.c
+++ b/css/css.c
@@ -1589,7 +1589,7 @@ void css_dump_style(FILE *stream, const struct css_style * const style)
else if (style->z == CSS_COLOR_NONE) \
fprintf(stream, s ": none; "); \
else \
- fprintf(stream, s ": #%.6lx; ", style->z); \
+ fprintf(stream, s ": #%.6x; ", style->z); \
}
#define DUMP_KEYWORD(z, s, n) \
@@ -1748,7 +1748,7 @@ void css_dump_style(FILE *stream, const struct css_style * const style)
else if (style->border[i].color == CSS_COLOR_NOT_SET)
;
else
- fprintf(stream, " #%.6lx",
+ fprintf(stream, " #%.6x",
style->border[i].color);
fprintf(stream, "; ");
}
@@ -2137,7 +2137,7 @@ void css_dump_style(FILE *stream, const struct css_style * const style)
else if (style->outline.color.value == CSS_COLOR_NOT_SET)
fprintf(stream, " .");
else
- fprintf(stream, " #%.6lx", style->outline.color.value);
+ fprintf(stream, " #%.6x", style->outline.color.value);
break;
case CSS_OUTLINE_COLOR_NOT_SET:
break;