aboutsummaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
Diffstat (limited to 'externals')
-rw-r--r--externals/vanilla/textfile.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/externals/vanilla/textfile.c b/externals/vanilla/textfile.c
index 51c8dcd1..bc76f360 100644
--- a/externals/vanilla/textfile.c
+++ b/externals/vanilla/textfile.c
@@ -28,6 +28,14 @@ typedef struct _qlist
static t_class *textfile_class;
typedef t_qlist t_textfile;
+static void qlist_rewind(t_qlist *x)
+{
+ x->x_onset = 0;
+ if (x->x_clock) clock_unset(x->x_clock);
+ x->x_whenclockset = 0;
+ x->x_reentered = 1;
+}
+
static void qlist_add(t_qlist *x, t_symbol *s, int ac, t_atom *av)
{
t_atom a;