aboutsummaryrefslogtreecommitdiff
path: root/misc.go
diff options
context:
space:
mode:
Diffstat (limited to 'misc.go')
-rw-r--r--misc.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc.go b/misc.go
index c320bc0..9b756c2 100644
--- a/misc.go
+++ b/misc.go
@@ -27,8 +27,8 @@ func (c Cutter) DrawCircles() {
}
}
-func (c Cutter) MustMarks(p Point) {
- if !c.SearchMarks(p) {
+func (c Cutter) MustMarks(p Point, typ MarksType) {
+ if !c.SearchMarks(p, typ) {
log.Fatal("marks not found")
}
}