From 6aaef3e55451b6eba7fe49c08c5eda0cf3205b12 Mon Sep 17 00:00:00 2001 From: Thomas O Fredericks Date: Wed, 14 Oct 2009 15:44:59 +0000 Subject: Fixing a stupid == error svn path=/trunk/externals/tof/; revision=12591 --- src/path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.1