summaryrefslogtreecommitdiff
path: root/src/bin/e_spectrum.c
diff options
context:
space:
mode:
authorrephorm <rephorm>2006-08-14 23:30:32 +0000
committerrephorm <rephorm@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2006-08-14 23:30:32 +0000
commitcfb5be331f282018a06fab17d2d47b797f86f9e8 (patch)
tree24e9f0f1c7a5b2579cd890a2d0f431cbf6e2cf3b /src/bin/e_spectrum.c
parentb228d7f10df486dcb641492010c124c399a2d2ce (diff)
downloadenlightenment-cfb5be331f282018a06fab17d2d47b797f86f9e8.tar.gz
cleanups
SVN revision: 24714
Diffstat (limited to 'src/bin/e_spectrum.c')
-rw-r--r--src/bin/e_spectrum.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bin/e_spectrum.c b/src/bin/e_spectrum.c
index 9915694044..2cf3a300e6 100644
--- a/src/bin/e_spectrum.c
+++ b/src/bin/e_spectrum.c
@@ -258,7 +258,11 @@ _e_spectrum_redraw(void *d)
float vx, vy, vz;
data = evas_object_image_data_get(sp->o_spectrum, 1);
- if (!data) return;
+ if (!data)
+ {
+ sp->draw_timer = NULL;
+ return 0;
+ }
switch(sp->mode)
{