From 1d2d32c847e39818bedae5f86ca75e6b70b60444 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 13 Jan 2016 03:07:42 +0900 Subject: Accept comma-separated list of sort criteria --- src/pattern.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pattern.go') diff --git a/src/pattern.go b/src/pattern.go index 2abcf439..4c61b87d 100644 --- a/src/pattern.go +++ b/src/pattern.go @@ -309,7 +309,7 @@ func dupItem(item *Item, offsets []Offset) *Item { index: item.index, offsets: offsets, colors: item.colors, - rank: Rank{0, 0, item.index}} + rank: buildEmptyRank(item.index)} } func (p *Pattern) basicMatch(item *Item) (int, int, int) { -- cgit v1.2.3