From 507235a681af69d26785c57c57e2fa0a1113e801 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Wed, 15 Aug 2018 12:36:35 +0200 Subject: [PATCH] minor formatting --- lv_core/lv_obj.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lv_core/lv_obj.c b/lv_core/lv_obj.c index 8980b5a49..8f2c9530c 100644 --- a/lv_core/lv_obj.c +++ b/lv_core/lv_obj.c @@ -436,15 +436,15 @@ void lv_scr_load(lv_obj_t * scr) */ void lv_obj_set_parent(lv_obj_t * obj, lv_obj_t * parent) { - if(obj->par == NULL) { - LV_LOG_WARN("Can't set the parent of a screen"); - return; - } + if(obj->par == NULL) { + LV_LOG_WARN("Can't set the parent of a screen"); + return; + } - if(parent == NULL) { - LV_LOG_WARN("Can't set parent == NULL to an object"); - return; - } + if(parent == NULL) { + LV_LOG_WARN("Can't set parent == NULL to an object"); + return; + } lv_obj_invalidate(obj);