diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-06-12 16:29:31 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-06-12 16:29:31 +1000 |
| commit | bd01bf3845fd67dc4e03f56d044b3bc53245eeed (patch) | |
| tree | 782f38292005dd84da267f4f06c7c66f994ca0ad /lib/luavgl/src/widgets/textarea.c | |
| parent | b02d13f5a584c9b0a747b0cefdf92dc867181a50 (diff) | |
| download | tangara-fw-bd01bf3845fd67dc4e03f56d044b3bc53245eeed.tar.gz | |
WIP bump luavgl to latest
Diffstat (limited to 'lib/luavgl/src/widgets/textarea.c')
| -rw-r--r-- | lib/luavgl/src/widgets/textarea.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/luavgl/src/widgets/textarea.c b/lib/luavgl/src/widgets/textarea.c index 7c6170c1..e197c413 100644 --- a/lib/luavgl/src/widgets/textarea.c +++ b/lib/luavgl/src/widgets/textarea.c @@ -28,12 +28,14 @@ static void _lv_textarea_set_placeholder_txt(void *obj, lua_State *L) static void _lv_textarea_set_password_bullet(void *obj, lua_State *L) { +#if LV_VERSION_CHECK(8, 3, 0) if (!lua_isstring(L, -1)) { luaL_argerror(L, -1, "expect string"); return; } lv_textarea_set_password_bullet(obj, lua_tostring(L, -1)); +#endif } static void _lv_textarea_set_accepted_chars(void *obj, lua_State *L) @@ -72,7 +74,7 @@ LUALIB_API int luavgl_textarea_set_property_kv(lua_State *L, void *data) /* a base obj property? */ ret = luavgl_obj_set_property_kv(L, obj); if (ret != 0) { - debug("unkown property for textarea: %s\n", lua_tostring(L, -2)); + LV_LOG_ERROR("unkown property for textarea: %s", lua_tostring(L, -2)); } return -1; |
