From 53ded4fc2f94d24896f30d63e4e368e7126f8237 Mon Sep 17 00:00:00 2001 From: raster Date: Tue, 19 Jun 2012 07:14:59 +0000 Subject: [PATCH] ecore null complaint fix if imf not there. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/terminology@72445 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/termio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/termio.c b/src/bin/termio.c index eb545df..a67595f 100644 --- a/src/bin/termio.c +++ b/src/bin/termio.c @@ -485,7 +485,8 @@ _imf_cursor_set(Termio *sd) /* TODO */ Evas_Coord cx, cy, cw, ch; evas_object_geometry_get(sd->cur.obj, &cx, &cy, &cw, &ch); - ecore_imf_context_cursor_location_set(sd->imf, cx, cy, cw, ch); + if (sd->imf) + ecore_imf_context_cursor_location_set(sd->imf, cx, cy, cw, ch); /* ecore_imf_context_cursor_position_set(sd->imf, 0); // how to get it? */ -- 2.7.4