Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
David MacDonald
purr-data
Commits
0d233561
Commit
0d233561
authored
Jul 02, 2017
by
Jonathan Wilkes
Browse files
fix for initbang not working
parent
65b4a650
Changes
2
Show whitespace changes
Inline
Side-by-side
pd/src/g_canvas.h
View file @
0d233561
...
...
@@ -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
);
...
...
pd/src/m_binbuf.c
View file @
0d233561
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment