vendor: fix

This commit is contained in:
fatedier
2016-12-19 01:44:17 +08:00
parent b0e56945cd
commit 19f349a65e
12 changed files with 407 additions and 214 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013 Dave Collins <dave@davec.name>
* Copyright (c) 2013-2016 Dave Collins <dave@davec.name>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -309,7 +309,7 @@ func (f *formatState) format(v reflect.Value) {
} else {
keys := v.MapKeys()
if f.cs.SortKeys {
sortValues(keys)
sortValues(keys, f.cs)
}
for i, key := range keys {
if i > 0 {