[cairo-commit] src/cairo-pdf-surface.c

Carl Worth cworth at kemper.freedesktop.org
Fri Jan 19 23:23:32 PST 2007


 src/cairo-pdf-surface.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

New commits:
diff-tree 6c40575a225e3d6d138adae9d492881b8358f881 (from 5f9d70a56158e468683dba953d6eaceea4dfd644)
Author: Carl Worth <cworth at cworth.org>
Date:   Fri Jan 19 23:23:32 2007 -0800

    Fix two misspellings in a recent comment.

diff --git a/src/cairo-pdf-surface.c b/src/cairo-pdf-surface.c
index 9debdb6..696a8d8 100644
--- a/src/cairo-pdf-surface.c
+++ b/src/cairo-pdf-surface.c
@@ -896,7 +896,7 @@ emit_surface_pattern (cairo_pdf_surface_
 	    /* In PDF, (as far as I can tell), all patterns are
 	     * repeating. So we support cairo's EXTEND_NONE semantics
 	     * by setting the repeat step size to a size large enough
-	     * to guarantee that no more than a single occurence will
+	     * to guarantee that no more than a single occurrence will
 	     * be visible.
 	     *
 	     * First, map the pattern's extents through the inverse
@@ -915,7 +915,7 @@ emit_surface_pattern (cairo_pdf_surface_
 						  &x1, &y1, &x2, &y2,
 						  NULL);
 	    /* Rather than computing precise bounds of the union, just
-	     * add the surface extents unconditonally. We only
+	     * add the surface extents unconditionally. We only
 	     * required an answer that's large enough, we don't really
 	     * care if it's not as tight as possible. */
 	    x1 = MAX (fabs(x1), fabs(x2)) + surface_extents.width;


More information about the cairo-commit mailing list