aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/source/flout.cpp')
-rw-r--r--externals/grill/flext/source/flout.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/externals/grill/flext/source/flout.cpp b/externals/grill/flext/source/flout.cpp
index c745924c..802d299d 100644
--- a/externals/grill/flext/source/flout.cpp
+++ b/externals/grill/flext/source/flout.cpp
@@ -376,12 +376,13 @@ bool flext_base::InitOutlets()
}
}
- fts_object_set_outlets_number((fts_object_t *)thisHdr(), outcnt);
+ fts_object_set_outlets_number((fts_object_t *)thisHdr(), outcnt+(procattr?1:0));
#endif
delete[] list;
}
+#if FLEXT_SYS == FLEXT_SYS_PD || FLEXT_SYS == FLEXT_SYS_MAX
if(procattr) {
// attribute dump outlet is the last one
outlets[outcnt] =
@@ -393,6 +394,7 @@ bool flext_base::InitOutlets()
#endif
}
+#endif
return ok;
}