aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas O Fredericks <mrtof@users.sourceforge.net>2009-10-14 15:44:59 +0000
committerThomas O Fredericks <mrtof@users.sourceforge.net>2009-10-14 15:44:59 +0000
commit6aaef3e55451b6eba7fe49c08c5eda0cf3205b12 (patch)
tree4309f9935753ee8a4b34a2aa9138815e6c4403a6 /src
parentbe4861d3c46fbbf40d7d09f45abc70e336cebb66 (diff)
Fixing a stupid == error
svn path=/trunk/externals/tof/; revision=12591
Diffstat (limited to 'src')
-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;