diff options
author | James Bursa <james@netsurf-browser.org> | 2003-04-10 21:44:45 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2003-04-10 21:44:45 +0000 |
commit | 7c94cf8be972d6853cc15f3971bf36fe64b04d92 (patch) | |
tree | 08a16a876ed64e7a6067bac89d331f7a2813b33d /riscos/gui.c | |
parent | 86faad43886df6311df9398149a632669c5fffe7 (diff) | |
download | netsurf-7c94cf8be972d6853cc15f3971bf36fe64b04d92.tar.gz netsurf-7c94cf8be972d6853cc15f3971bf36fe64b04d92.tar.bz2 |
[project @ 2003-04-10 21:44:45 by bursa]
Memory usage cleaning.
svn path=/import/netsurf/; revision=121
Diffstat (limited to 'riscos/gui.c')
-rw-r--r-- | riscos/gui.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/riscos/gui.c b/riscos/gui.c index 1e53d00ee..c8f293f51 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -1,5 +1,5 @@ /** - * $Id: gui.c,v 1.23 2003/03/25 21:51:29 bursa Exp $ + * $Id: gui.c,v 1.24 2003/04/10 21:44:45 bursa Exp $ */ #include "netsurf/riscos/font.h" @@ -550,26 +550,9 @@ void ro_gui_window_redraw_box(gui_window* g, struct box * box, signed long x, signed long y, os_box* clip, unsigned long current_background_color) { struct box * c; - const char * const noname = ""; - const char * name = noname; char* select_text; struct formoption* opt; - switch (box->type) - { - case BOX_TABLE: - case BOX_TABLE_ROW: - case BOX_TABLE_CELL: - case BOX_FLOAT_LEFT: - case BOX_FLOAT_RIGHT: - case BOX_BLOCK: if (box->node) name = (const char *) box->node->name; - break; - case BOX_INLINE: - case BOX_INLINE_CONTAINER: - default: - break; - } - if (x + (signed long) (box->x*2 + box->width*2) /* right edge */ >= clip->x0 && x + (signed long) (box->x*2) /* left edge */ <= clip->x1 && y - (signed long) (box->y*2 + box->height*2 + 8) /* bottom edge */ <= clip->y1 && |