diff options
author | James Bursa <james@netsurf-browser.org> | 2004-05-13 14:41:50 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2004-05-13 14:41:50 +0000 |
commit | 01586b4ab9b9d462e5f9a1c497ab4f8c8ab30450 (patch) | |
tree | 4b3490c61d711979f8fa3514327efd766fe5a3e5 /debug/netsurfd.c | |
parent | 837d60cc37b0634f2ff5b7835594d3c02b0f42b5 (diff) | |
download | netsurf-01586b4ab9b9d462e5f9a1c497ab4f8c8ab30450.tar.gz netsurf-01586b4ab9b9d462e5f9a1c497ab4f8c8ab30450.tar.bz2 |
[project @ 2004-05-13 14:41:50 by bursa]
Minor fixes to the debug build.
svn path=/import/netsurf/; revision=860
Diffstat (limited to 'debug/netsurfd.c')
-rw-r--r-- | debug/netsurfd.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/debug/netsurfd.c b/debug/netsurfd.c index ead7c693c..70e3f8784 100644 --- a/debug/netsurfd.c +++ b/debug/netsurfd.c @@ -77,12 +77,16 @@ int main(int argc, char *argv[]) if (!destroyed) { /* content_reformat(c, 1, 1000); */ /* save_complete(c, "save_complete");*/ - box_dump(c->data.html.layout, 0); + if (c->type == CONTENT_HTML) + box_dump(c->data.html.layout, 0); + else if (c->type == CONTENT_CSS) + css_dump_stylesheet(c->data.css.css); content_remove_user(c, callback, 0, 0); + c = 0; } } - options_write("options"); +/* options_write("options"); */ cache_quit(); fetch_quit(); @@ -146,7 +150,7 @@ bool plugin_handleable(const char *mime_type) #ifdef riscos #ifdef WITH_PLUGIN void plugin_msg_parse(wimp_message *message, int ack) {} -void plugin_create(struct content *c) {} +void plugin_create(struct content *c, const char *params[]) {} void plugin_process_data(struct content *c, char *data, unsigned long size) {} int plugin_convert(struct content *c, unsigned int width, unsigned int height) {} void plugin_revive(struct content *c, unsigned int width, unsigned int height) {} @@ -263,3 +267,5 @@ void schedule_remove(void (*callback)(void *p), void *p) printf("UNIMPLEMENTED: schedule_remove(%p, %p)\n", callback, p); } #endif + +void *ro_gui_current_redraw_gui = 0; |