ecore-evas-buffer: Fix formatting

NB: No functional changes
This commit is contained in:
Chris Michael 2019-01-31 08:11:54 -05:00
parent cc5a45101f
commit 3fcdada0fd
1 changed files with 86 additions and 86 deletions

View File

@ -77,10 +77,9 @@ _ecore_evas_resize(Ecore_Evas *ee, int w, int h)
else
{
if (bdata->pixels)
bdata->free_func(bdata->data,
bdata->pixels);
bdata->pixels = bdata->alloc_func(bdata->data,
ee->w * ee->h * sizeof(int));
bdata->free_func(bdata->data, bdata->pixels);
bdata->pixels =
bdata->alloc_func(bdata->data, ee->w * ee->h * sizeof(int));
stride = ee->w * sizeof(int);
}
@ -893,8 +892,9 @@ ecore_evas_buffer_new(int w, int h)
ecore_event_evas_init();
ee = ecore_evas_buffer_allocfunc_new
(w, h, _ecore_evas_buffer_pix_alloc, _ecore_evas_buffer_pix_free, NULL);
ee =
ecore_evas_buffer_allocfunc_new(w, h, _ecore_evas_buffer_pix_alloc,
_ecore_evas_buffer_pix_free, NULL);
if (!ee) ecore_event_evas_shutdown();