summaryrefslogtreecommitdiff
path: root/firmware/export/font.h
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2022-11-10 09:38:50 -0500
committerWilliam Wilgus <me.theuser@yahoo.com>2022-11-12 06:22:16 -0500
commitc756a8a89d6970090b060a179dcabb93a67d8f21 (patch)
tree868fa2b1393c512ecfa445688635ada71086dea7 /firmware/export/font.h
parentdd1fbd51fc7bb3fa7237b3bc34335e99bef29e35 (diff)
downloadrockbox-c756a8a89d6970090b060a179dcabb93a67d8f21.tar.gz
rockbox-c756a8a89d6970090b060a179dcabb93a67d8f21.zip
make splash split on control characters
splits on spaces also considers \r\n\f\v\t as mandatory breaks I'm still working on the strptokspn function my goal is to use it directly rather than storing the matched char and modifying the source string with \0 in order to tokenize the output --Done Change-Id: I7f378b5b9c4df8f10899b9a55a98950afb3931dc
Diffstat (limited to 'firmware/export/font.h')
-rw-r--r--firmware/export/font.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/font.h b/firmware/export/font.h
index 067c67e43d..38e30187b3 100644
--- a/firmware/export/font.h
+++ b/firmware/export/font.h
@@ -132,7 +132,7 @@ void font_disable_all(void);
132void font_enable_all(void); 132void font_enable_all(void);
133 133
134struct font* font_get(int font); 134struct font* font_get(int font);
135 135int font_getstringnsize(const unsigned char *str, size_t maxbytes, int *w, int *h, int fontnumber);
136int font_getstringsize(const unsigned char *str, int *w, int *h, int fontnumber); 136int font_getstringsize(const unsigned char *str, int *w, int *h, int fontnumber);
137int font_get_width(struct font* ft, unsigned short ch); 137int font_get_width(struct font* ft, unsigned short ch);
138const unsigned char * font_get_bits(struct font* ft, unsigned short ch); 138const unsigned char * font_get_bits(struct font* ft, unsigned short ch);