remove '=' from rotate option

This commit is contained in:
Will Norris 2013-12-07 17:06:36 -08:00
parent ae66dd52b7
commit a0d0260f5e
2 changed files with 4 additions and 4 deletions

View file

@ -80,8 +80,8 @@ func ParseOptions(str string) *Options {
continue
}
if len(part) > 2 && strings.HasPrefix(part, "r=") {
o.Rotate, _ = strconv.Atoi(part[2:])
if len(part) > 2 && strings.HasPrefix(part, "r") {
o.Rotate, _ = strconv.Atoi(part[1:])
continue
}
}