diff options
author | William Wilgus <wilgus.william@gmail.com> | 2022-11-10 09:38:50 -0500 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2022-11-12 06:22:16 -0500 |
commit | c756a8a89d6970090b060a179dcabb93a67d8f21 (patch) | |
tree | 868fa2b1393c512ecfa445688635ada71086dea7 /firmware/export | |
parent | dd1fbd51fc7bb3fa7237b3bc34335e99bef29e35 (diff) | |
download | rockbox-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')
-rw-r--r-- | firmware/export/font.h | 2 |
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); | |||
132 | void font_enable_all(void); | 132 | void font_enable_all(void); |
133 | 133 | ||
134 | struct font* font_get(int font); | 134 | struct font* font_get(int font); |
135 | 135 | int font_getstringnsize(const unsigned char *str, size_t maxbytes, int *w, int *h, int fontnumber); | |
136 | int font_getstringsize(const unsigned char *str, int *w, int *h, int fontnumber); | 136 | int font_getstringsize(const unsigned char *str, int *w, int *h, int fontnumber); |
137 | int font_get_width(struct font* ft, unsigned short ch); | 137 | int font_get_width(struct font* ft, unsigned short ch); |
138 | const unsigned char * font_get_bits(struct font* ft, unsigned short ch); | 138 | const unsigned char * font_get_bits(struct font* ft, unsigned short ch); |