From 439426667990b90f76f759ae8f993215c16770cd Mon Sep 17 00:00:00 2001 From: inmarket Date: Fri, 6 Sep 2013 12:23:48 +1000 Subject: Update fonts files to allow compiling without GDISP_NEED_TEXT. --- src/gdisp/mcufont/mf_wordwrap.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gdisp/mcufont/mf_wordwrap.c') diff --git a/src/gdisp/mcufont/mf_wordwrap.c b/src/gdisp/mcufont/mf_wordwrap.c index ebf3a537..ee57ee99 100644 --- a/src/gdisp/mcufont/mf_wordwrap.c +++ b/src/gdisp/mcufont/mf_wordwrap.c @@ -7,6 +7,8 @@ #include "mf_wordwrap.h" +#ifndef MF_NO_COMPILE + /* Returns true if the line can be broken at this character. */ static bool is_wrap_space(uint16_t c) { @@ -294,3 +296,5 @@ void mf_wordwrap(const struct mf_font_s *font, int16_t width, } #endif + +#endif //MF_NO_COMPILE -- cgit v1.2.3