From 853c851dd0f33a17e3c61f6272ad2d16ee5d5016 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Tue, 4 Sep 2012 02:40:12 +0000 Subject: [PATCH] this is an IMPROVEMENT of null checking (so no backport). thanks shungo kwak. :) SVN revision: 76099 --- legacy/ecore/src/lib/ecore_evas/ecore_evas_buffer.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas_buffer.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas_buffer.c index c279889..77ee8c1 100644 --- a/legacy/ecore/src/lib/ecore_evas/ecore_evas_buffer.c +++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas_buffer.c @@ -655,8 +655,11 @@ EAPI const void * ecore_evas_buffer_pixels_get(Ecore_Evas *ee) { #ifdef BUILD_ECORE_EVAS_SOFTWARE_BUFFER - if (!ee) return NULL; - + if (!ee) + { + CRIT("Ecore_Evas is missing"); + return NULL; + } _ecore_evas_buffer_render(ee); return ee->engine.buffer.pixels; #else -- 2.7.4