diff options
author | Vincent Sanders <vince@kyllikki.org> | 2017-09-07 18:12:09 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2017-09-07 18:12:09 +0100 |
commit | 5d6f189d8bb723201d44a0d4f35d93ffb6a00a54 (patch) | |
tree | acacd88fcf6f0e97db4b5392457c7d137bd05359 /frontends/riscos | |
parent | 2b0a5ef2e732ed484096b558116d28ac7abbef0a (diff) | |
download | netsurf-5d6f189d8bb723201d44a0d4f35d93ffb6a00a54.tar.gz netsurf-5d6f189d8bb723201d44a0d4f35d93ffb6a00a54.tar.bz2 |
Fixup everything the semantic patch missed
Diffstat (limited to 'frontends/riscos')
-rw-r--r-- | frontends/riscos/configure/con_image.c | 5 | ||||
-rw-r--r-- | frontends/riscos/gui.c | 6 | ||||
-rw-r--r-- | frontends/riscos/textselection.c | 2 | ||||
-rw-r--r-- | frontends/riscos/theme.c | 11 |
4 files changed, 15 insertions, 9 deletions
diff --git a/frontends/riscos/configure/con_image.c b/frontends/riscos/configure/con_image.c index 49dd4f76d..c7fc7f314 100644 --- a/frontends/riscos/configure/con_image.c +++ b/frontends/riscos/configure/con_image.c @@ -150,8 +150,9 @@ void ro_gui_options_image_redraw(wimp_draw *redraw) icon_state.i = IMAGE_CURRENT_DISPLAY; error = xwimp_get_icon_state(&icon_state); if (error) { - LOG("xwimp_get_icon_state: 0x%x: %s", - error->errnum, error->errmess); + NSLOG(netsurf, INFO, + "xwimp_get_icon_state: 0x%x: %s", + error->errnum, error->errmess); ro_warn_user("MenuError", error->errmess); return; } diff --git a/frontends/riscos/gui.c b/frontends/riscos/gui.c index 51ea37066..9d651bc10 100644 --- a/frontends/riscos/gui.c +++ b/frontends/riscos/gui.c @@ -274,8 +274,10 @@ set_colour_from_wimp(struct nsoption_s *opts, error = xwimp_read_true_palette((os_palette *) &palette); if (error != NULL) { - LOG("xwimp_read_palette: 0x%x: %s", - error->errnum, error->errmess); + NSLOG(netsurf, INFO, + "xwimp_read_palette: 0x%x: %s", + error->errnum, + error->errmess); } else { /* entries are in B0G0R0LL */ def_colour = palette.entries[wimp] >> 8; diff --git a/frontends/riscos/textselection.c b/frontends/riscos/textselection.c index efec96b56..e5be27791 100644 --- a/frontends/riscos/textselection.c +++ b/frontends/riscos/textselection.c @@ -482,7 +482,7 @@ void ro_gui_selection_data_request(wimp_full_message_data_request *req) // bits ftype = req->file_types[i]; // if (ftype == ~0U) break; /* list terminator */ // -// LOG("type %x", ftype); +// NSLOG(netsurf, INFO, "type %x", ftype); // i++; // } diff --git a/frontends/riscos/theme.c b/frontends/riscos/theme.c index 661beb765..341b7f7cd 100644 --- a/frontends/riscos/theme.c +++ b/frontends/riscos/theme.c @@ -16,8 +16,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -/** \file - * Window themes (implementation). +/** + * \file + * Window themes implementation. */ #include <alloca.h> @@ -180,8 +181,10 @@ static void ro_gui_theme_get_available_in_dir(const char *directory) (osgbpb_info_list *) &info, 1, context, sizeof(info), 0, &read_count, &context); if (error) { - LOG("xosgbpb_dir_entries_info: 0x%x: %s", - error->errnum, error->errmess); + NSLOG(netsurf, INFO, + "xosgbpb_dir_entries_info: 0x%x: %s", + error->errnum, + error->errmess); if (error->errnum == 0xd6) /* no such dir */ return; ro_warn_user("MiscError", error->errmess); |