Mercurial > audlegacy
diff src/audlegacy/hook.c @ 4848:b2ee645f3e59
Hook up the equalizer (bug #24)
author | John Lindgren <john.lindgren@tds.net> |
---|---|
date | Sun, 12 Apr 2009 23:03:39 -0400 |
parents | 7bf7f83a217e |
children | c97b4291ec8b |
line wrap: on
line diff
--- a/src/audlegacy/hook.c Sun Apr 12 19:58:12 2009 -0400 +++ b/src/audlegacy/hook.c Sun Apr 12 23:03:39 2009 -0400 @@ -17,6 +17,7 @@ * Audacious or using our public API to be a derived work. */ +#include <stdio.h> #include <glib.h> #include "hook.h" @@ -122,8 +123,10 @@ hook = hook_find(name); - if (hook == NULL) + if (hook == NULL) { + printf ("Warning: no hook found for \"%s\"\n", name); return; + } for (iter = hook->items; iter != NULL; iter = g_slist_next(iter)) {