diff options
author | John Tytgat <joty@netsurf-browser.org> | 2004-07-14 19:16:49 +0000 |
---|---|---|
committer | John Tytgat <joty@netsurf-browser.org> | 2004-07-14 19:16:49 +0000 |
commit | 866b0b84c5b22a20f8d92abc2899175d1750a283 (patch) | |
tree | 491ba60f057296ae296dcc434821ade6d2b2800f /riscos/htmlredraw.c | |
parent | 2fe0085f53b2b64f592df8393fd5eba5cd57eac5 (diff) | |
download | netsurf-866b0b84c5b22a20f8d92abc2899175d1750a283.tar.gz netsurf-866b0b84c5b22a20f8d92abc2899175d1750a283.tar.bz2 |
[project @ 2004-07-14 19:16:49 by joty]
Removed debug fprint line.
svn path=/import/netsurf/; revision=1076
Diffstat (limited to 'riscos/htmlredraw.c')
-rw-r--r-- | riscos/htmlredraw.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/riscos/htmlredraw.c b/riscos/htmlredraw.c index c06444181..dbe27b372 100644 --- a/riscos/htmlredraw.c +++ b/riscos/htmlredraw.c @@ -289,7 +289,6 @@ void html_redraw_box(struct content *content, struct box * box, end = &(content->data.html.text_selection.end); if (start->box == box) { - fprintf(stderr, "THE START OFFSET IS %d\n", start->pixel_offset * 2); if (end->box == box) { colourtrans_set_gcol(os_COLOUR_VERY_LIGHT_GREY, colourtrans_USE_ECFS, 0, 0); os_plot(os_MOVE_TO, @@ -483,13 +482,15 @@ static const int dash_pattern_dashed[] = { 0, 1, 2048 }; void html_redraw_border(colour color, int width, css_border_style style, int x0, int y0, int x1, int y1) { - draw_dash_pattern *dash_pattern = 0; + const draw_dash_pattern *dash_pattern; os_error *error; if (style == CSS_BORDER_STYLE_DOTTED) - dash_pattern = (draw_dash_pattern *) &dash_pattern_dotted; + dash_pattern = (const draw_dash_pattern *) &dash_pattern_dotted; else if (style == CSS_BORDER_STYLE_DASHED) - dash_pattern = (draw_dash_pattern *) &dash_pattern_dashed; + dash_pattern = (const draw_dash_pattern *) &dash_pattern_dashed; + else + dash_pattern = NULL; path[1] = x0 * 256; path[2] = y0 * 256; |