summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--framebuffer/bitmap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/framebuffer/bitmap.c b/framebuffer/bitmap.c
index ca4be21f6..2ef0c4ca8 100644
--- a/framebuffer/bitmap.c
+++ b/framebuffer/bitmap.c
@@ -54,7 +54,7 @@ void *bitmap_create(int width, int height, unsigned int state)
if (nsfb_init(bm) == -1) {
nsfb_free(bm);
- return NULL;
+ return NULL;
}
LOG(("bitmap %p", bm));
@@ -152,7 +152,7 @@ void bitmap_modified(void *bitmap) {
* \param opaque whether the bitmap should be plotted opaque
*/
void bitmap_set_opaque(void *bitmap, bool opaque)
-{
+{
nsfb_t *bm = bitmap;
assert(bm != NULL);
@@ -192,8 +192,8 @@ bool bitmap_test_opaque(void *bitmap)
while (tst-- > 0) {
if (bmpptr[(tst << 2) + 3] != 0xff) {
LOG(("bitmap %p has transparency",bm));
- return false;
- }
+ return false;
+ }
}
LOG(("bitmap %p is opaque", bm));
return true;