Skip to content

Commit

Permalink
Update ctxvml.go
Browse files Browse the repository at this point in the history
  • Loading branch information
brunsgaard authored Jun 7, 2019
1 parent 51d235f commit b11b2dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ctxvml.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type VmlHeaders struct {
}

func (h VmlHeaders) OcrCacheAllow() bool {
return strings.ToLower(h.OcrCache) == "allow"
return strings.EqualFold(h.OcrCache, "allow")
}

var (
Expand Down

0 comments on commit b11b2dd

Please sign in to comment.