From 765c02622b23acbfdf0ec426e1e9d5beb2158680 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Fri, 13 Feb 2004 23:07:42 +0000 Subject: [project @ 2004-02-13 23:07:42 by bursa] Add font size configuration and fix proxy options bug. svn path=/import/netsurf/; revision=538 --- css/css.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'css/css.c') diff --git a/css/css.c b/css/css.c index 3f967b548..e03e0c107 100644 --- a/css/css.c +++ b/css/css.c @@ -2,7 +2,7 @@ * This file is part of NetSurf, http://netsurf.sourceforge.net/ * Licensed under the GNU General Public License, * http://www.opensource.org/licenses/gpl-license - * Copyright 2003 James Bursa + * Copyright 2004 James Bursa */ #include @@ -998,10 +998,10 @@ unsigned int css_hash(const char *s) /** - * convert a struct css_length to pixels + * Convert a struct css_length to pixels. */ -signed long len(struct css_length * length, struct css_style * style) +float len(struct css_length * length, struct css_style * style) { assert(!((length->unit == CSS_UNIT_EM || length->unit == CSS_UNIT_EX) && style == 0)); switch (length->unit) { -- cgit v1.2.3