diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-05-28 17:06:18 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-05-28 17:06:18 +0100 |
commit | 0d811963c1498aa625b5438bf66dbb677a0d4494 (patch) | |
tree | 470d44bdf1986a9e77a5bc5f2d71fe6d8bf7827f /beos/throbber.cpp | |
parent | 30c2962faa0c31d70b91993ccd9c2f3f8f298810 (diff) | |
download | netsurf-0d811963c1498aa625b5438bf66dbb677a0d4494.tar.gz netsurf-0d811963c1498aa625b5438bf66dbb677a0d4494.tar.bz2 |
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
Diffstat (limited to 'beos/throbber.cpp')
-rw-r--r-- | beos/throbber.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
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; } } |