summaryrefslogtreecommitdiff
path: root/css/css.c
diff options
context:
space:
mode:
authorFran├žois Revel <mmu_man@netsurf-browser.org>2008-07-29 09:25:17 +0000
committerFran├žois Revel <mmu_man@netsurf-browser.org>2008-07-29 09:25:17 +0000
commitaf7be03db3dab8365afadd37b45603a535e5dbe6 (patch)
treedb1b1eb81b0217cefdd5736eed1b9bf2bfa2dd19 /css/css.c
parent971c93fece0df166546ed5fdb5d3ea9da8805bdb (diff)
downloadnetsurf-af7be03db3dab8365afadd37b45603a535e5dbe6.tar.gz
netsurf-af7be03db3dab8365afadd37b45603a535e5dbe6.tar.bz2
more obvious C89
svn path=/trunk/netsurf/; revision=4792
Diffstat (limited to 'css/css.c')
-rw-r--r--css/css.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/css/css.c b/css/css.c
index b47635737..87908ab70 100644
--- a/css/css.c
+++ b/css/css.c
@@ -2463,6 +2463,7 @@ void css_dump_working_stylesheet(const struct css_working_stylesheet *ws)
* Set all members to false
*/
void css_importance_reset(struct css_importance *i) {
+ int j;
i->background_color = false;
i->background_image = false;
i->border_spacing = false;
@@ -2471,7 +2472,7 @@ void css_importance_reset(struct css_importance *i) {
i->width = false;
/**< top, right, bottom, left */
- for (int j = 0; j < 4; j++) {
+ for (j = 0; j < 4; j++) {
i->border_color[j] = false;
i->border_style[j] = false;
i->border_width[j] = false;