tyfuzz: make it compile again!

This commit is contained in:
Boris Faure 2018-04-15 17:34:34 +02:00
parent e8652f7262
commit 7855175ea4
2 changed files with 14 additions and 0 deletions

View File

@ -534,6 +534,12 @@ static int
_approximate_truecolor_rgb(Termpty *ty, int r0, int g0, int b0)
{
int chosen_color = COL_DEF;
#ifdef ENABLE_FUZZING
(void) ty;
(void) r0;
(void) g0;
(void) b0;
#else
int c;
int distance_min = INT_MAX;
Evas_Object *textgrid;
@ -569,6 +575,7 @@ _approximate_truecolor_rgb(Termpty *ty, int r0, int g0, int b0)
chosen_color = c;
}
}
#endif
return chosen_color;
}

View File

@ -54,6 +54,13 @@ termio_font_size_set(Evas_Object *obj EINA_UNUSED,
int size EINA_UNUSED)
{
}
void
termio_set_cursor_shape(Evas_Object *obj EINA_UNUSED,
Cursor_Shape shape EINA_UNUSED)
{
}
/* }}} */