diff options
author | James Bursa <james@netsurf-browser.org> | 2004-02-13 23:07:42 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2004-02-13 23:07:42 +0000 |
commit | 765c02622b23acbfdf0ec426e1e9d5beb2158680 (patch) | |
tree | 20d47b0796a8fb28b73bfc51307d9eb5b7d6bd6b /css | |
parent | b5fd9fb2977636b64e15abad3155a5513e29eae8 (diff) | |
download | netsurf-765c02622b23acbfdf0ec426e1e9d5beb2158680.tar.gz netsurf-765c02622b23acbfdf0ec426e1e9d5beb2158680.tar.bz2 |
[project @ 2004-02-13 23:07:42 by bursa]
Add font size configuration and fix proxy options bug.
svn path=/import/netsurf/; revision=538
Diffstat (limited to 'css')
-rw-r--r-- | css/css.c | 6 | ||||
-rw-r--r-- | css/css.h | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -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 <bursa@users.sourceforge.net> + * Copyright 2004 James Bursa <bursa@users.sourceforge.net> */ #include <assert.h> @@ -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) { @@ -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 <bursa@users.sourceforge.net> + * Copyright 2004 James Bursa <bursa@users.sourceforge.net> */ /** \file @@ -293,6 +293,6 @@ colour named_colour(const char *name); void css_dump_style(const struct css_style * const style); void css_dump_stylesheet(const struct css_stylesheet * stylesheet); -signed long len(struct css_length * length, struct css_style * style); +float len(struct css_length * length, struct css_style * style); #endif |