From 12cd0595d4d1d191a2cb057d44888201d5565ca6 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sun, 23 Apr 2017 17:14:28 -0700 Subject: [PATCH] Tweak. --- src/runtime/ustring.scm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/runtime/ustring.scm b/src/runtime/ustring.scm index 3e949c589..ca3bf9c2b 100644 --- a/src/runtime/ustring.scm +++ b/src/runtime/ustring.scm @@ -608,10 +608,6 @@ USA. (define (get-partial) (string-slice buffer start index)) - (define (empty?) - (and (fix:= start index) - (null? buffers))) - (define (append-char! char) (ustring3-set! buffer index char) (set! index (fix:+ index 1)) @@ -654,7 +650,7 @@ USA. ((append-char!) append-char!) ((append-string!) append-string!) ((build) build) - ((empty?) empty?) + ((empty?) (lambda () (fix:= count 0))) ((count) (lambda () count)) ((max-cp) (lambda () max-cp)) ((reset!) reset!) -- 2.25.1