From: Woochan Lee Date: Thu, 28 Sep 2017 07:47:06 +0000 (+0900) Subject: elm_win: prevent Null pointer ref. X-Git-Tag: submit/tizen/20171012.123430~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dc274ea57e70194cfcab045e55e37a13414e649f;p=platform%2Fupstream%2Felementary.git elm_win: prevent Null pointer ref. _elm_config could be null. in case launch the app using app_launch command in shell. @tizen_fix Change-Id: I27006548a32c56fffd6ff9aea98941b5e6036593 --- diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c index 3af246bba..9473f4597 100644 --- a/src/lib/elm_win.c +++ b/src/lib/elm_win.c @@ -3954,7 +3954,7 @@ elm_win_add(Evas_Object *parent, // //TIZEN_ONLY(20161202): Temporary code - Apply mirroring in elm_win_add() - if (_elm_config->language_auto_mirrored) + if (_elm_config && _elm_config->language_auto_mirrored) { if (!strcmp(E_("default:LTR"), "default:RTL")) elm_config_mirrored_set(EINA_TRUE);