From 0d811963c1498aa625b5438bf66dbb677a0d4494 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 28 May 2015 17:06:18 +0100 Subject: fixup all the remaining logging macro callsites The semantic patch tool appears to have missed some difficult to reason about callsites which have now been manually cleaned up --- riscos/configure/con_image.c | 4 ++-- riscos/gui.c | 4 ++-- riscos/textselection.c | 2 +- riscos/theme.c | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'riscos') diff --git a/riscos/configure/con_image.c b/riscos/configure/con_image.c index ee4281856..1c9531c6d 100644 --- a/riscos/configure/con_image.c +++ b/riscos/configure/con_image.c @@ -151,8 +151,8 @@ 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)); + LOG("xwimp_get_icon_state: 0x%x: %s", + error->errnum, error->errmess); warn_user("MenuError", error->errmess); return; } diff --git a/riscos/gui.c b/riscos/gui.c index 49292cf85..cad5a6e16 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -272,8 +272,8 @@ 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)); + LOG("xwimp_read_palette: 0x%x: %s", + error->errnum, error->errmess); } else { /* entries are in B0G0R0LL */ def_colour = palette.entries[wimp] >> 8; diff --git a/riscos/textselection.c b/riscos/textselection.c index 2ee7a6949..dc852a79c 100644 --- a/riscos/textselection.c +++ b/riscos/textselection.c @@ -473,7 +473,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)); +// LOG("type %x", ftype); // i++; // } diff --git a/riscos/theme.c b/riscos/theme.c index 592fa0a7c..333c9e6f8 100644 --- a/riscos/theme.c +++ b/riscos/theme.c @@ -182,8 +182,8 @@ 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)); + LOG("xosgbpb_dir_entries_info: 0x%x: %s", + error->errnum, error->errmess); if (error->errnum == 0xd6) /* no such dir */ return; warn_user("MiscError", error->errmess); -- cgit v1.2.3