diff options
author | Thomas O Fredericks <mrtof@users.sourceforge.net> | 2009-10-14 15:44:59 +0000 |
---|---|---|
committer | Thomas O Fredericks <mrtof@users.sourceforge.net> | 2009-10-14 15:44:59 +0000 |
commit | 6aaef3e55451b6eba7fe49c08c5eda0cf3205b12 (patch) | |
tree | 4309f9935753ee8a4b34a2aa9138815e6c4403a6 /src | |
parent | be4861d3c46fbbf40d7d09f45abc70e336cebb66 (diff) |
Fixing a stupid == error
svn path=/trunk/externals/tof/; revision=12591
Diffstat (limited to 'src')
-rw-r--r-- | src/path.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |