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 --- beos/throbber.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'beos/throbber.cpp') diff --git a/beos/throbber.cpp b/beos/throbber.cpp index f7fb35306..fe40b3edc 100644 --- a/beos/throbber.cpp +++ b/beos/throbber.cpp @@ -50,15 +50,14 @@ bool nsbeos_throbber_initialise_from_png(const int frames, ...) if (frames < 2) { /* we need at least two frames - one for idle, one for active */ - LOG(("Insufficent number of frames in throbber animation!")); - LOG(("(called with %d frames, where 2 is a minimum.)", - frames)); + LOG("Insufficent number of frames in throbber animation!"); + LOG("(called with %d frames, where 2 is a minimum.)", frames); return false; } BResources *res = get_app_resources(); if (res == NULL) { - LOG(("Can't find resources for throbber!")); + LOG("Can't find resources for throbber!"); return false; } @@ -75,14 +74,14 @@ bool nsbeos_throbber_initialise_from_png(const int frames, ...) data = res->LoadResource('data', fn, &size); throb->framedata[i] = NULL; if (!data) { - LOG(("Error when loading resource %s", fn)); + LOG("Error when loading resource %s", fn); errors_when_loading = true; continue; } BMemoryIO mem(data, size); throb->framedata[i] = BTranslationUtils::GetBitmap(&mem); if (throb->framedata[i] == NULL) { - LOG(("Error when loading %s: GetBitmap() returned NULL", fn)); + LOG("Error when loading %s: GetBitmap() returned NULL", fn); errors_when_loading = true; } } -- cgit v1.2.3