changeset 288 | 24a51ea91118 |
parent 248 | 30a4b721cffd |
child 366 | e95081c21da2 |
1.1 --- a/file.cpp Wed Mar 15 13:53:53 2006 +0000 1.2 +++ b/file.cpp Mon Apr 10 11:21:35 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;