From 7dd229a7cd8c3e60a84e5ef6bc4c456fb99270a9 Mon Sep 17 00:00:00 2001 From: _VIFEXTech <1290176185@qq.com> Date: Wed, 30 Mar 2022 18:57:30 +0800 Subject: [PATCH] fix(indev): fix null pointer access caused by typo (#3229) Co-authored-by: pengyiqiang --- src/core/lv_indev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/lv_indev.c b/src/core/lv_indev.c index 814cc847e..cfeccc3d5 100644 --- a/src/core/lv_indev.c +++ b/src/core/lv_indev.c @@ -130,7 +130,7 @@ void lv_indev_enable(lv_indev_t * indev, bool en) else { lv_indev_t * i = lv_indev_get_next(NULL); while(i) { - indev->proc.disabled = enable; + i->proc.disabled = enable; i = lv_indev_get_next(i); } }