Skip to content

Commit

Permalink
docs(checkbox) update the comment lv_checkbox_set_text_static
Browse files Browse the repository at this point in the history
NULL shouldn't be passed as text
Related to #2551
  • Loading branch information
kisvegabor committed Sep 18, 2021
1 parent 3df2a74 commit 3e0ddd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/lv_checkbox.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void lv_checkbox_set_text(lv_obj_t * obj, const char * txt);
* Set the text of a check box. `txt` must not be deallocated during the life
* of this checkbox.
* @param cb pointer to a check box
* @param txt the text of the check box. NULL to refresh with the current text.
* @param txt the text of the check box.
*/
void lv_checkbox_set_text_static(lv_obj_t * obj, const char * txt);

Expand Down

0 comments on commit 3e0ddd0

Please sign in to comment.