forked from enlightenment/efl
elementary: fix calculation of scale table, thx to Bluezery
SVN revision: 77620
This commit is contained in:
parent
fed295ce26
commit
881c36211c
|
@ -2349,7 +2349,7 @@ _overlay_scale_show(Overlay_Scale *ovl)
|
|||
|
||||
sd = ovl->wsd;
|
||||
|
||||
if ((int)sizeof(_scale_tb) <= sd->zoom)
|
||||
if ((int)(sizeof(_scale_tb)/sizeof(double)) <= sd->zoom)
|
||||
{
|
||||
ERR("Zoom level is too high");
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue