summaryrefslogtreecommitdiff
path: root/beos/throbber.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'beos/throbber.cpp')
-rw-r--r--beos/throbber.cpp11
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;
}
}