diff options
author | inmarket <andrewh@inmarket.com.au> | 2013-09-06 12:23:48 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-09-06 12:23:48 +1000 |
commit | 439426667990b90f76f759ae8f993215c16770cd (patch) | |
tree | 518654e216ba6d28934ce5b6532fc02b7fd450c2 /src/gdisp/mcufont/mf_wordwrap.c | |
parent | b53ab7adf4f04ad1da30c3a7fd7e9fecd0404d83 (diff) | |
download | uGFX-439426667990b90f76f759ae8f993215c16770cd.tar.gz uGFX-439426667990b90f76f759ae8f993215c16770cd.tar.bz2 uGFX-439426667990b90f76f759ae8f993215c16770cd.zip |
Update fonts files to allow compiling without GDISP_NEED_TEXT.
Diffstat (limited to 'src/gdisp/mcufont/mf_wordwrap.c')
-rw-r--r-- | src/gdisp/mcufont/mf_wordwrap.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 |