diff options
| author | Charles.Forsyth <devnull@localhost> | 2007-10-27 15:54:31 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2007-10-27 15:54:31 +0000 |
| commit | c42b3783383b27c7f4f9ab4a8fefd51b2a67da07 (patch) | |
| tree | f84024fd6ac899ed0545aabadd3bd953cff5a609 /appl | |
| parent | 184c64d409f10c08000332c4b0cb7d3b97cb228a (diff) | |
20071027-1654
Diffstat (limited to 'appl')
| -rw-r--r-- | appl/lib/names.b | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/appl/lib/names.b b/appl/lib/names.b index e15ce189..8a0db807 100644 --- a/appl/lib/names.b +++ b/appl/lib/names.b @@ -126,7 +126,7 @@ isprefix(a: string, b: string): int return 0; if(la == lb) return a == b; - return a == b[0:la] && b[la] == '/'; + return a == b[0:la] && (b[la] == '/' || a == "/"); } elements(name: string): list of string |
