Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incompatibilities with purr-data #4

Merged
merged 1 commit into from
Aug 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Sources/ecommon.c
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ t_pd_err binbuf_get_attribute_float(t_binbuf *d, t_symbol *key, float *value)

void epd_add_folder(const char* name, const char* folder)
{
#if !defined(PDL2ORK)
char path[MAXPDSTRING];
t_namelist* var = pd_this->pd_stuff->st_searchpath;
while (var)
Expand Down Expand Up @@ -544,6 +545,7 @@ void epd_add_folder(const char* name, const char* folder)
}
var = var->nl_next;
}
#endif
}


Expand Down
3 changes: 3 additions & 0 deletions Sources/eobj.c
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,8 @@ void eobj_read(t_eobj* x, t_symbol* s, int argc, t_atom *argv)
c->c_widget.w_read(x, s, 1, av);
return;
}

#if !defined(PDL2ORK)
// Look in the search path
var = pd_this->pd_stuff->st_searchpath;
while (var)
Expand All @@ -312,6 +314,7 @@ void eobj_read(t_eobj* x, t_symbol* s, int argc, t_atom *argv)
}
var = var->nl_next;
}
#endif

// Nothing work but we don't care
if(c->c_widget.w_read)
Expand Down