Fix harmless typo.
authorChris Hanson <org/chris-hanson/cph>
Sat, 7 Dec 2002 04:57:05 +0000 (04:57 +0000)
committerChris Hanson <org/chris-hanson/cph>
Sat, 7 Dec 2002 04:57:05 +0000 (04:57 +0000)
v7/src/xml/xml-output.scm

index 10838b3e99dcd34cc3f6e14c10e7cd8fa7fa134d..656e117367b18ce9406bf1f56a435c3c14393680 100644 (file)
@@ -1,6 +1,6 @@
 ;;; -*-Scheme-*-
 ;;;
-;;; $Id: xml-output.scm,v 1.4 2002/12/07 04:47:50 cph Exp $
+;;; $Id: xml-output.scm,v 1.5 2002/12/07 04:57:05 cph Exp $
 ;;;
 ;;; Copyright (c) 2001, 2002 Massachusetts Institute of Technology
 ;;;
@@ -76,9 +76,9 @@
          (write-string ">" port))
        (write-string " />" port))))
 
-(define-method write-xml ((pi xml-comment-rtd) port)
+(define-method write-xml ((comment xml-comment-rtd) port)
   (write-string "<!--" port)
-  (write-string (xml-comment-text pi) port)
+  (write-string (xml-comment-text comment) port)
   (write-string "-->" port))
 
 (define-method write-xml ((pi xml-processing-instructions-rtd) port)