aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/path/filepath/path_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/path/filepath/path_windows.go')
-rw-r--r--libgo/go/path/filepath/path_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/path/filepath/path_windows.go b/libgo/go/path/filepath/path_windows.go
index ef6e7ca..41c57df 100644
--- a/libgo/go/path/filepath/path_windows.go
+++ b/libgo/go/path/filepath/path_windows.go
@@ -121,7 +121,7 @@ func join(elem []string) string {
// joinNonEmpty is like join, but it assumes that the first element is non-empty.
func joinNonEmpty(elem []string) string {
if len(elem[0]) == 2 && elem[0][1] == ':' {
- // First element is drive leter without terminating slash.
+ // First element is drive letter without terminating slash.
// Keep path relative to current directory on that drive.
return Clean(elem[0] + strings.Join(elem[1:], string(Separator)))
}