fix crash when running tyfuzz. not in terminology

This commit is contained in:
Boris Faure 2015-11-14 21:25:39 +01:00
parent 5a5b80ebec
commit a0c249e6ca
2 changed files with 2 additions and 7 deletions

View File

@ -1408,10 +1408,12 @@ _handle_esc_xterm(Termpty *ty, const Eina_Unicode *c, Eina_Unicode *ce)
len = cc - c - (p - buf);
if (_xterm_parse_color(&p, &r, &g, &b, len) < 0)
goto err;
#ifndef ENABLE_FUZZING
evas_object_textgrid_palette_set(
termio_textgrid_get(ty->obj),
EVAS_TEXTGRID_PALETTE_STANDARD, 0,
r, g, b, 0xff);
#endif
}
break;
case 777:

View File

@ -49,13 +49,6 @@ termio_scroll(Evas_Object *obj EINA_UNUSED,
{
}
/* used to set argument to evas_object_textgrid_palette_set()
*/
Evas_Object *
termio_textgrid_get(Evas_Object *obj EINA_UNUSED)
{
return NULL;
}
/* }}} */