aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path.c b/src/path.c
index f8b20e4..f18698a 100644
--- a/src/path.c
+++ b/src/path.c
@@ -173,7 +173,7 @@ static void path_anything(t_path *x, t_symbol *s, int ac, t_atom* av) {
char* dir = tof_buf_temp_b;
char* p;
int l = strlen(dir);
- if (dir[l-1] = '/') dir[l-1] = '\0';
+ if (dir[l-1] == '/') dir[l-1] = '\0';
char* file = tof_buf_temp_a;
while( strncmp(file,"../",3) == 0 ) {
file = file + 3;