Make lv_ta_get_placeholder_text do what it says

Thanks to @TridentTD on the forum for reporting this: https://forum.littlevgl.com/t/bug-at-textareas-lv-ta-get-placeholder-text/707
This commit is contained in:
embeddedt
2019-09-19 08:56:16 -04:00
committed by GitHub
parent 88bda09f5f
commit cf1fed89e0

View File

@@ -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;
}