diff options
author | Thomas O Fredericks <mrtof@users.sourceforge.net> | 2009-10-23 13:46:24 +0000 |
---|---|---|
committer | Thomas O Fredericks <mrtof@users.sourceforge.net> | 2009-10-23 13:46:24 +0000 |
commit | 761af5cdd6f924577f0fc6af351039d2c35dcb7b (patch) | |
tree | c880ce57c38cbe08bdc542c6565e0eecc352fd2a /src/tof.h | |
parent | 6a5c6a517019456eb945c64a340c4c4509570dd1 (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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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()); } |