From 0966d16cc34a6913149e050ec4406f8f8ef32de8 Mon Sep 17 00:00:00 2001 From: Subodh Kumar Date: Wed, 26 Jun 2013 16:42:13 +0530 Subject: [PATCH] [access.c] Info is checked for null. Change-Id: I8f94c4709c8c2766a0d8a1513b08f693c4285cdf --- src/lib/elm_access.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elm_access.c b/src/lib/elm_access.c index cddce8e..44d8ca7 100644 --- a/src/lib/elm_access.c +++ b/src/lib/elm_access.c @@ -973,11 +973,11 @@ _elm_access_highlight_cycle(Evas_Object *obj, Elm_Focus_Direction dir) Evas_Object *comming = NULL; if (type == ELM_ACCESS_ACTION_HIGHLIGHT_NEXT) { - if (info->next) comming = info->next; + if ((info) && (info->next)) comming = info->next; } else { - if (info->prev) comming = info->prev; + if ((info) && (info->prev)) comming = info->prev; } if (comming) { -- 2.7.4