forked from enlightenment/efl
at least handle null im_info & dont crash.
SVN revision: 63105
This commit is contained in:
parent
27ebb83c4e
commit
098518798f
|
@ -925,6 +925,12 @@ get_ic(Ecore_IMF_Context *ctx)
|
||||||
XIMStyle im_style = 0;
|
XIMStyle im_style = 0;
|
||||||
XPoint spot = { 0, 0 };
|
XPoint spot = { 0, 0 };
|
||||||
char *name = NULL;
|
char *name = NULL;
|
||||||
|
|
||||||
|
if (!im_info)
|
||||||
|
{
|
||||||
|
EINA_LOG_WARN("Doesn't open XIM.");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
// supported styles
|
// supported styles
|
||||||
#if 0
|
#if 0
|
||||||
|
|
Loading…
Reference in New Issue