diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2015-03-28 12:22:23 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2015-03-28 12:22:23 +0000 |
commit | c9e8bd24c893ea0cfb85ab3d33379fb5341ecf92 (patch) | |
tree | 6bc83e5d6bfc7ecb2d99cb5f8234e85a28dc9486 /framebuffer/bitmap.c | |
parent | fcfc9453ecabc017723a3c1523a2f1aa18060fbe (diff) | |
download | netsurf-c9e8bd24c893ea0cfb85ab3d33379fb5341ecf92.tar.gz netsurf-c9e8bd24c893ea0cfb85ab3d33379fb5341ecf92.tar.bz2 |
Remove trailing whitespace.
Diffstat (limited to 'framebuffer/bitmap.c')
-rw-r--r-- | framebuffer/bitmap.c | 8 |
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; |