diff options
author | Dimitri Sokolyuk <demon@dim13.org> | 2015-05-06 15:58:48 +0200 |
---|---|---|
committer | Dimitri Sokolyuk <demon@dim13.org> | 2015-05-06 15:58:48 +0200 |
commit | 7703889848fe9a0c4c5645eb1ec58135d86b642b (patch) | |
tree | 5bfb42d03eb130089b2be8f58bf444db006e88da /pic.go | |
parent | 0729d3b3174de5f0802276172dc46383de1447f2 (diff) |
Rename Inch into IN
Diffstat (limited to 'pic.go')
-rw-r--r-- | pic.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -19,8 +19,8 @@ func parseLine(s string) (pa Path) { for _, p := range strings.Split(s[10:], " to ") { var po Point fmt.Sscanf(p, "%v,%v", &po.Y, &po.X) - po.X = truncate(5440 - po.X*Inch) - po.Y = truncate(po.Y * Inch) + po.X = truncate(5440 - po.X*IN) + po.Y = truncate(po.Y * IN) pa = append(pa, po) } } |