author | insilmaril |
Thu Mar 23 12:38:54 2006 +0000 (2006-03-23) | |
changeset 255 | 5da693c51f10 |
parent 254 | d3080e02b13a |
child 256 | ba81afcb2b51 |
1.1 --- a/file.cpp Thu Mar 23 12:38:54 2006 +0000 1.2 +++ b/file.cpp Thu Mar 23 12:38:54 2006 +0000 1.3 @@ -44,9 +44,10 @@ 1.4 d=d.right (d.length()-i-1); 1.5 } 1.6 1.7 + // Now take care of paths where we have to go back first 1.8 int srcsep=s.contains("/"); 1.9 int dstsep=d.contains("/"); 1.10 - if (srcsep >= dstsep ) 1.11 + if (srcsep <= dstsep ) 1.12 { 1.13 // find path to go up first and then back to dst 1.14 i=1;