Changeset 250 for trunk/m2/m2

Show
Ignore:
Timestamp:
08/15/06 21:02:44 (2 years ago)
Author:
krobillard
Message:

M2 - No longer generates multiple slashes with VC template.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/m2/m2

    r227 r250  
    483483 
    484484 
    485 verify_slash: func [ path [file! url!] ] [ 
    486     if not (back tail to-string path) = "/" [ 
    487         append path "/" 
     485verify_slash: func [path [file! url!] /local lp] [ 
     486    lp: last path 
     487    if all [ 
     488        lp <> #"/" 
     489        lp <> #"\" 
     490    ][ 
     491        append path #"/" 
    488492    ] 
    489493    path