summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--riscos/gui.c3
-rw-r--r--riscos/gui.h1
-rw-r--r--riscos/plugin.c3
-rw-r--r--riscos/plugin.h2
4 files changed, 5 insertions, 4 deletions
diff --git a/riscos/gui.c b/riscos/gui.c
index a047e3a68..34672c65f 100644
--- a/riscos/gui.c
+++ b/riscos/gui.c
@@ -1018,8 +1018,7 @@ void ro_gui_user_message(wimp_event_no event, wimp_message *message)
case message_PLUG_IN_NOTIFY:
case message_PLUG_IN_ABORT:
case message_PLUG_IN_ACTION:
- plugin_msg_parse(message,
- event == wimp_USER_MESSAGE_ACKNOWLEDGE);
+ plugin_msg_parse(message, event == wimp_USER_MESSAGE_ACKNOWLEDGE);
break;
#endif
#ifdef WITH_PRINT
diff --git a/riscos/gui.h b/riscos/gui.h
index c45c5b82c..d667a9148 100644
--- a/riscos/gui.h
+++ b/riscos/gui.h
@@ -39,6 +39,7 @@ extern wimp_menu *current_menu;
extern osspriteop_area *gui_sprites;
extern struct toolbar *hotlist_toolbar;
extern bool dialog_folder_add, dialog_entry_add, hotlist_insert;
+extern bool print_active;
typedef enum {
GUI_SAVE_SOURCE,
diff --git a/riscos/plugin.c b/riscos/plugin.c
index ad102f440..4212e9541 100644
--- a/riscos/plugin.c
+++ b/riscos/plugin.c
@@ -540,7 +540,7 @@ void plugin_destroy(struct content *c)
/**
* Redraw plugin on page.
*/
-void plugin_redraw(struct content *c, int x, int y,
+bool plugin_redraw(struct content *c, int x, int y,
int width, int height,
int clip_x0, int clip_y0, int clip_x1, int clip_y1,
float scale)
@@ -555,6 +555,7 @@ void plugin_redraw(struct content *c, int x, int y,
npl->state);
need_reformat = 0;
}
+ return true;
}
/*-------------------------------------------------------------------------*/
diff --git a/riscos/plugin.h b/riscos/plugin.h
index fafc89862..dc032f566 100644
--- a/riscos/plugin.h
+++ b/riscos/plugin.h
@@ -75,7 +75,7 @@ bool plugin_process_data(struct content *c, char *data, unsigned int size);
bool plugin_convert(struct content *c, int width, int height);
void plugin_reformat(struct content *c, int width, int height);
void plugin_destroy(struct content *c);
-void plugin_redraw(struct content *c, int x, int y,
+bool plugin_redraw(struct content *c, int x, int y,
int width, int height,
int clip_x0, int clip_y0, int clip_x1, int clip_y1,
float scale);