aboutsummaryrefslogtreecommitdiff
path: root/src/tof.h
diff options
context:
space:
mode:
authorThomas O Fredericks <mrtof@users.sourceforge.net>2009-10-23 13:46:24 +0000
committerThomas O Fredericks <mrtof@users.sourceforge.net>2009-10-23 13:46:24 +0000
commit761af5cdd6f924577f0fc6af351039d2c35dcb7b (patch)
treec880ce57c38cbe08bdc542c6565e0eecc352fd2a /src/tof.h
parent6a5c6a517019456eb945c64a340c4c4509570dd1 (diff)
Modified paramRoutes behavior with a bad message
svn path=/trunk/externals/tof/; revision=12651
Diffstat (limited to 'src/tof.h')
-rw-r--r--src/tof.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tof.h b/src/tof.h
index 9681d7e..f6d2eba 100644
--- a/src/tof.h
+++ b/src/tof.h
@@ -47,7 +47,9 @@ static int tof_canvas_is_not_subpatch(t_canvas* canvas) {
static t_canvas* tof_get_canvas(void)
{
- return canvas_getcurrent();
+ t_glist *glist=(t_glist *)canvas_getcurrent();
+
+ return (t_canvas*)glist_getcanvas(glist);
//return glist_getcanvas((t_glist *)canvas_getcurrent());
}