aboutsummaryrefslogtreecommitdiff
path: root/cutter.go
diff options
context:
space:
mode:
Diffstat (limited to 'cutter.go')
-rw-r--r--cutter.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cutter.go b/cutter.go
index 0ed334e..2830994 100644
--- a/cutter.go
+++ b/cutter.go
@@ -235,17 +235,17 @@ func (c Cutter) returnString() string {
func (c Cutter) returnUnit() Unit {
s, _ := c.GetResponse()
- return scanUnit(s)
+ return NewUnit(s)
}
func (c Cutter) returnPoint() Point {
s, _ := c.GetResponse()
- return scanPoint(s)
+ return NewPoint(s)
}
func (c Cutter) returnTriple() Triple {
s, _ := c.GetResponse()
- return scanTriple(s)
+ return NewTriple(s)
}
func (c Cutter) RegMarkLen(n Unit) {