1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

chore: fix typos in lv_text.c (#7513)

This commit is contained in:
bjsylvia 2024-12-27 12:06:19 +08:00 committed by GitHub
parent 4c5fbefeb7
commit 3da5eec875
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -195,7 +195,7 @@ bool lv_text_is_cmd(lv_text_cmd_state_t * state, uint32_t c)
* @param max_width max width of the text (break the lines to fit this size). Set COORD_MAX to avoid line breaks
* @param flags settings for the text from 'txt_flag_type' enum
* @param[out] word_w_ptr width (in pixels) of the parsed word. May be NULL.
* @param cmd_state Pointer to a lv_text_cmd_state_t variable which stored the current state of command proocessing
* @param cmd_state Pointer to a lv_text_cmd_state_t variable which stored the current state of command processing
* @return the index of the first char of the next word (in byte index not letter index. With UTF-8 they are different)
*/
static uint32_t lv_text_get_next_word(const char * txt, const lv_font_t * font,