elm map : check if the matrixsparse exits

SVN revision: 44552
This commit is contained in:
Jonathan Atton 2009-12-18 18:30:28 +00:00
parent e32500af29
commit 5115557aba
1 changed files with 3 additions and 3 deletions

View File

@ -300,14 +300,14 @@ marker_place(Evas_Object *obj, Grid *g, Evas_Coord px, Evas_Coord py, Evas_Coord
{
for (x = g_xx; x <= g_xx + g_ww; x++)
{
if(!wd->markers[wd->zoom])
continue ;
eina_matrixsparse_cell_idx_get(wd->markers[wd->zoom], y, x, &cell);
if(!cell)
continue ;
wd->cells_displayed = eina_list_append(wd->cells_displayed, cell);
if(!wd->markers[wd->zoom])
continue ;
markers = eina_matrixsparse_data_idx_get(wd->markers[wd->zoom], y, x);
int i = 0;