diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2021-04-26 19:58:26 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2021-04-26 19:58:26 +0100 |
commit | 6f659da675917f6cfa651631ff49a244973f02df (patch) | |
tree | b79f45335a6fc9c5ca581fd7043f3890100d65a7 | |
parent | 93b68a9a4869cac3ec4927b35f29cac32e106832 (diff) | |
download | netsurf-6f659da675917f6cfa651631ff49a244973f02df.tar.gz netsurf-6f659da675917f6cfa651631ff49a244973f02df.tar.bz2 |
RISC OS: Constify redraw region through buffer API.
-rw-r--r-- | frontends/riscos/buffer.c | 2 | ||||
-rw-r--r-- | frontends/riscos/buffer.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/frontends/riscos/buffer.c b/frontends/riscos/buffer.c index c63a270db..9c8f8fe11 100644 --- a/frontends/riscos/buffer.c +++ b/frontends/riscos/buffer.c @@ -81,7 +81,7 @@ static os_mode mode; * * \param redraw the current WIMP redraw area to buffer */ -void ro_gui_buffer_open(wimp_draw *redraw) +void ro_gui_buffer_open(const wimp_draw *redraw) { int size; int total_size; diff --git a/frontends/riscos/buffer.h b/frontends/riscos/buffer.h index a683c324c..7de0ecdc6 100644 --- a/frontends/riscos/buffer.h +++ b/frontends/riscos/buffer.h @@ -25,7 +25,7 @@ #include "oslib/wimp.h" -void ro_gui_buffer_open(wimp_draw *redraw); +void ro_gui_buffer_open(const wimp_draw *redraw); void ro_gui_buffer_close(void); #endif |