summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-07-18 01:23:54 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-07-18 01:23:54 (EDT)
commitcaa24987c48bcdae57d08f70b0c5ee9089c13e54 (patch)
treecdddd83a46fe6342031ec5b4f09979113519e2bb
parent730082432a6b03636d28eb8c16fe5fbb7e279466 (diff)
src/font.c: Reduce spacing in macro definitions
-rw-r--r--src/font.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/font.c b/src/font.c
index 3958891..92988a3 100644
--- a/src/font.c
+++ b/src/font.c
@@ -29,12 +29,12 @@
#include <linux/font.h>
#include "image.h"
-#define BIT_TO_BYTE(i) ((i) / CHAR_BIT)
-#define BITS_TO_BYTES(i) BIT_TO_BYTE((i) + CHAR_BIT - 1)
-#define BIT_BYTE_SHIFT(i) (CHAR_BIT - 1 - ((i) % CHAR_BIT))
-#define FONT_H(f) ((size_t) (f)->desc.height)
-#define FONT_W(f) ((size_t) (f)->desc.width)
-#define FONT_W_BYTES(f) BITS_TO_BYTES(FONT_W(f))
+#define BIT_TO_BYTE(i) ((i) / CHAR_BIT)
+#define BITS_TO_BYTES(i) BIT_TO_BYTE((i) + CHAR_BIT - 1)
+#define BIT_BYTE_SHIFT(i) (CHAR_BIT - 1 - ((i) % CHAR_BIT))
+#define FONT_H(f) ((size_t) (f)->desc.height)
+#define FONT_W(f) ((size_t) (f)->desc.width)
+#define FONT_W_BYTES(f) BITS_TO_BYTES(FONT_W(f))
struct font {
const struct font_desc desc;