Skip to content

Commit

Permalink
Make lv_ta_get_placeholder_text do what it says
Browse files Browse the repository at this point in the history
  • Loading branch information
embeddedt authored Sep 19, 2019
1 parent 88bda09 commit cf1fed8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lv_objx/lv_ta.c
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ const char * lv_ta_get_placeholder_text(lv_obj_t * ta)

const char * txt = NULL;

if(ext->placeholder) txt = lv_label_get_text(ext->label);
if(ext->placeholder) txt = lv_label_get_text(ext->placeholder);

return txt;
}
Expand Down

0 comments on commit cf1fed8

Please sign in to comment.