[cairo] [patch] Correct a typo in "cairo-png.c"

Xing, Dongsheng dongsheng.xing at intel.com
Mon May 28 23:31:09 PDT 2012

Hi, there is a typo in a comment. The comment expresses exact opposite meaning.

Here is a patch fixing the typo.

diff --git a/src/cairo-png.c b/src/cairo-png.c
index e74a4a8..4c2ec94 100644
--- a/src/cairo-png.c
+++ b/src/cairo-png.c
@@ -142,7 +142,7 @@ png_simple_error_callback (png_structp png,
     longjmp (png_jmpbuf (png), 1);

-    /* if we get here, then we have to choice but to abort ... */
+    /* if we get here, then we have no choice but to abort ... */

 static void

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20120529/4ae075d8/attachment.html>

More information about the cairo mailing list