diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-07-06 12:45:38 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-07-06 12:45:38 +0000 |
commit | 1b03b5dfae6fa5146d7b8ce9b84a6e8e0de4f033 (patch) | |
tree | 47823cac3a29535d2c7601587014dd0f128c3a92 /beos/beos_window.cpp | |
parent | 1e43cd7f76574b54d2e391b3750ab1c6e6e53315 (diff) | |
download | netsurf-1b03b5dfae6fa5146d7b8ce9b84a6e8e0de4f033.tar.gz netsurf-1b03b5dfae6fa5146d7b8ce9b84a6e8e0de4f033.tar.bz2 |
Fix up BeOS for r12574 API change.
svn path=/trunk/netsurf/; revision=12577
Diffstat (limited to 'beos/beos_window.cpp')
-rw-r--r-- | beos/beos_window.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/beos/beos_window.cpp b/beos/beos_window.cpp index d7153fb79..7b0b835a1 100644 --- a/beos/beos_window.cpp +++ b/beos/beos_window.cpp @@ -1392,8 +1392,7 @@ void gui_window_redraw_window(struct gui_window *g) g->view->UnlockLooper(); } -void gui_window_update_box(struct gui_window *g, - const union content_msg_data *data) +void gui_window_update_box(struct gui_window *g, const struct rect *rect) { hlcache_handle *c = g->bw->current_content; @@ -1408,9 +1407,8 @@ void gui_window_update_box(struct gui_window *g, nsbeos_current_gc_set(g->view); //XXX +1 ?? - g->view->Invalidate(BRect(data->redraw.x, data->redraw.y, - data->redraw.x + data->redraw.width - 1, - data->redraw.y + data->redraw.height - 1)); + g->view->Invalidate(BRect(rect->x0, rect->y0, + rect->x1 - 1, rect->y1 - 1)); nsbeos_current_gc_set(NULL); g->view->UnlockLooper(); |