Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nerrons
purr-data
Commits
0a9dd6d3
Commit
0a9dd6d3
authored
Oct 22, 2015
by
Jonathan Wilkes
Browse files
fix bug where [event] didn't work in subpatches
parent
04001e44
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/g_template.c
View file @
0a9dd6d3
...
@@ -4442,7 +4442,7 @@ static void *event_new(void)
...
@@ -4442,7 +4442,7 @@ static void *event_new(void)
{
{
char namebuf[20];
char namebuf[20];
t_event *x = (t_event *)pd_new(event_class);
t_event *x = (t_event *)pd_new(event_class);
t_canvas *c = canvas_getcurrent();
t_canvas *c =
canvas_getrootfor(
canvas_getcurrent()
)
;
if (c->gl_vec)
if (c->gl_vec)
{
{
sprintf(namebuf, "%lx_event", (long unsigned int)c->gl_vec);
sprintf(namebuf, "%lx_event", (long unsigned int)c->gl_vec);
...
...
Write
Preview
Supports
Markdown
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