Skip to content

Commit ba2a09d

Browse files
author
csr21
committed
Change the names of the TEXT-FOO-SERVER second arguments to SEQUENCE,
Change the names of the TEXT-FOO-SERVER second arguments to SEQUENCE, too, to reflect what we perceive to be reality. darcs-hash:20030719134257-ed5a3-d537982c99aba5e938c1fbd6290e4bad29c33946.gz
1 parent 840aa21 commit ba2a09d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

text.lisp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,9 @@
266266
(setq font new-font))))
267267
(values width next-start)))
268268

269-
(defun text-extents-server (font string start end)
269+
(defun text-extents-server (font sequence start end)
270270
(declare (type font font)
271-
(type sequence string)
271+
(type sequence sequence)
272272
(type array-index start end))
273273
(declare (clx-values width ascent descent left right font-ascent font-descent direction))
274274
(let ((display (font-display font))
@@ -282,7 +282,7 @@
282282
(length (index+ (index-ceiling length 2) 2))
283283
(resource-id font-id)
284284
((sequence :format char2b :start start :end end :appending t)
285-
string))
285+
sequence))
286286
(values
287287
(integer-get 16)
288288
(int16-get 12)
@@ -293,9 +293,9 @@
293293
(int16-get 10)
294294
(member8-get 1 :left-to-right :right-to-left)))))
295295

296-
(defun text-width-server (font string start end)
296+
(defun text-width-server (font sequence start end)
297297
(declare (type (or font gcontext) font)
298-
(type sequence string)
298+
(type sequence sequence)
299299
(type array-index start end))
300300
(declare (clx-values integer))
301301
(let ((display (font-display font))
@@ -309,7 +309,7 @@
309309
(length (index+ (index-ceiling length 2) 2))
310310
(resource-id font-id)
311311
((sequence :format char2b :start start :end end :appending t)
312-
string))
312+
sequence))
313313
(values (integer-get 16)))))
314314

315315
(defun text-extents-local (font sequence start end width-only-p)

0 commit comments

Comments
 (0)