aboutsummaryrefslogtreecommitdiff
path: root/pic.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-05-06 15:58:48 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-05-06 15:58:48 +0200
commit7703889848fe9a0c4c5645eb1ec58135d86b642b (patch)
tree5bfb42d03eb130089b2be8f58bf444db006e88da /pic.go
parent0729d3b3174de5f0802276172dc46383de1447f2 (diff)
Rename Inch into IN
Diffstat (limited to 'pic.go')
-rw-r--r--pic.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pic.go b/pic.go
index 605818d..9ab99d1 100644
--- a/pic.go
+++ b/pic.go
@@ -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)
}
}