summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Kendrick <rjek@netsurf-browser.org>2012-03-25 08:24:23 (GMT)
committer Rob Kendrick <rjek@netsurf-browser.org>2012-03-25 08:24:23 (GMT)
commit3ae266db16ccf9141a8b17b338f135881fe2965e (patch)
tree13d2529f58ed93943d1b0be352820a4c7d759900
parentcbb7b7349766fcbb3096f6916bc908b622fb6510 (diff)
downloadlibcss-3ae266db16ccf9141a8b17b338f135881fe2965e.tar.gz
libcss-3ae266db16ccf9141a8b17b338f135881fe2965e.tar.bz2
Use correct unit enum values for computed clip rectangle
svn path=/trunk/libcss/; revision=13651
-rw-r--r--src/select/properties/clip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/select/properties/clip.c b/src/select/properties/clip.c
index 7dba4e3..d98c7eb 100644
--- a/src/select/properties/clip.c
+++ b/src/select/properties/clip.c
@@ -19,7 +19,7 @@ css_error css__cascade_clip(uint32_t opv, css_style *style,
{
uint16_t value = CSS_CLIP_INHERIT;
css_computed_clip_rect rect = { 0, 0, 0, 0,
- UNIT_PX, UNIT_PX, UNIT_PX, UNIT_PX,
+ CSS_UNIT_PX, CSS_UNIT_PX, CSS_UNIT_PX, CSS_UNIT_PX,
false, false, false, false };
if (isInherit(opv) == false) {