Commit 0d233561 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

fix for initbang not working

parent 65b4a650
......@@ -532,6 +532,8 @@ EXTERN void canvas_eraselinesfor(t_canvas *x, t_text *text);
EXTERN void canvas_stowconnections(t_canvas *x);
EXTERN void canvas_restoreconnections(t_canvas *x);
EXTERN void canvas_redraw(t_canvas *x);
EXTERN void canvas_closebang(t_canvas *x);
EXTERN void canvas_initbang(t_canvas *x);
EXTERN t_inlet *canvas_addinlet(t_canvas *x, t_pd *who, t_symbol *sym);
EXTERN void canvas_rminlet(t_canvas *x, t_inlet *ip);
......
......@@ -7,6 +7,7 @@
#include <stdlib.h>
#include "m_pd.h"
#include "s_stuff.h"
#include "g_canvas.h"
#include <stdio.h>
#ifdef HAVE_UNISTD_H
......@@ -1671,6 +1672,7 @@ void binbuf_evalfile(t_symbol *name, t_symbol *dir)
b = newb;
}
binbuf_eval(b, 0, 0, 0);
canvas_initbang((t_canvas *)(s__X.s_thing)); /* JMZ*/
gensym("#A")->s_thing = bounda;
s__N.s_thing = boundn;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment