I can't think of any more clever names so we'll go with the old standard: really?

SVN revision: 62158
This commit is contained in:
Mike Blumenkrantz 2011-08-05 23:14:17 +00:00
parent bd9b5e6f36
commit 1dd49971d1
1 changed files with 1 additions and 5 deletions

View File

@ -1950,11 +1950,7 @@ _wheel_timer_cb(void *data)
Widget_Data *wd = elm_widget_data_get(data);
int zoom;
if (!wd)
{
wd->wheel_timer = NULL;
return ECORE_CALLBACK_CANCEL;
}
if (!wd) return ECORE_CALLBACK_CANCEL;
if (wd->zoom_method == ZOOM_METHOD_IN) zoom = (int)ceil(wd->wheel_zoom - 1.0);
else if (wd->zoom_method == ZOOM_METHOD_OUT) zoom = (int)floor((-1.0 / wd->wheel_zoom) + 1.0);
else