From 3e1895b71c26267b87a0ccfa1d5248f5a207c47f Mon Sep 17 00:00:00 2001 From: jaseg Date: Thu, 2 Jan 2014 16:40:26 +0100 Subject: Fixed multibyte handling. --- host/matelight/font.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'host/matelight/font.h') diff --git a/host/matelight/font.h b/host/matelight/font.h index 658609a..e3e2e60 100644 --- a/host/matelight/font.h +++ b/host/matelight/font.h @@ -1,4 +1,7 @@ +#ifndef __FONT_H__ +#define __FONT_H__ + #include #include @@ -19,3 +22,4 @@ int read_bdf(FILE *f, glyph_t **glyph_table, unsigned int glyph_table_size); // Requires buf to point to a buffer at least of size glyph->width*glyph->height. void render_glyph(glyph_t *glyph, uint8_t *buf, unsigned int bufwidth, unsigned int offx, unsigned int offy); +#endif//__FONT_H__ -- cgit