aboutsummaryrefslogtreecommitdiff
path: root/cyclone/hammer
diff options
context:
space:
mode:
Diffstat (limited to 'cyclone/hammer')
-rw-r--r--cyclone/hammer/coll.c1
-rw-r--r--cyclone/hammer/comment.c2
-rw-r--r--cyclone/hammer/grab.c5
-rw-r--r--cyclone/hammer/sustain.c1
4 files changed, 6 insertions, 3 deletions
diff --git a/cyclone/hammer/coll.c b/cyclone/hammer/coll.c
index 3d9aa68..5308341 100644
--- a/cyclone/hammer/coll.c
+++ b/cyclone/hammer/coll.c
@@ -9,6 +9,7 @@
#include "common/loud.h"
#include "hammer/file.h"
+/* FIXME sort -1 -1, sort 1 crashes in pd large */
/* FIXME sort crashes after (corrupt?) transfers from the editor */
/* LATER make sure that ``reentrancy protection hack'' is really working... */
/* CHECKME default fname for 'write' -- c_filename, x_name, nothing? */
diff --git a/cyclone/hammer/comment.c b/cyclone/hammer/comment.c
index 3fe6ec6..72e8a57 100644
--- a/cyclone/hammer/comment.c
+++ b/cyclone/hammer/comment.c
@@ -5,6 +5,8 @@
/* FIXME creation lag (X-specific) */
/* LATER think about pushing text to the text editor (ctrl-t)
-- not easy, because we are not 'textedfor' */
+/* LATER think about making the <Button> binding for the entire bbox,
+ instead of the text item, to ease the pain of resizing, somewhat. */
#include <stdlib.h>
#include <stdio.h>
diff --git a/cyclone/hammer/grab.c b/cyclone/hammer/grab.c
index a54a3eb..2ffc152 100644
--- a/cyclone/hammer/grab.c
+++ b/cyclone/hammer/grab.c
@@ -89,10 +89,9 @@ static t_pd *grab_next(t_grab *x)
nextremote:
if (x->x_tograbbed)
{
- t_inlet *ip;
int inno;
- x->x_tograbbed = obj_nexttraverseoutlet(x->x_tograbbed,
- &x->x_grabbed, &ip, &inno);
+ x->x_tograbbed =
+ fragile_outlet_nextconnection(x->x_tograbbed, &x->x_grabbed, &inno);
if (x->x_grabbed)
{
if (inno)
diff --git a/cyclone/hammer/sustain.c b/cyclone/hammer/sustain.c
index 975e6aa..8764f5d 100644
--- a/cyclone/hammer/sustain.c
+++ b/cyclone/hammer/sustain.c
@@ -23,6 +23,7 @@ static void sustain_float(t_sustain *x, t_float f)
int pitch = (int)f;
if (pitch >= 0 && pitch < SUSTAIN_NPITCHES)
{
+ /* CHECKED a plain note-off accumulator */
if (x->x_velocity || !x->x_switch)
{
outlet_float(x->x_voutlet, x->x_velocity);