[cairo-commit] src/cairo.c

Behdad Esfahbod behdad at kemper.freedesktop.org
Tue Jun 24 12:09:50 PDT 2008


 src/cairo.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 425846dedbca749a4a19e8a8827887bb70201c8d
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Tue Jun 24 15:09:33 2008 -0400

    Oops.  Fix thinko in previous commit.

diff --git a/src/cairo.c b/src/cairo.c
index 85cb4cd..afc076d 100644
--- a/src/cairo.c
+++ b/src/cairo.c
@@ -110,7 +110,7 @@ static void
 _cairo_set_error (cairo_t *cr, cairo_status_t status)
 {
     if (status == CAIRO_STATUS_SUCCESS)
-	return status;
+	return;
 
     /* Don't overwrite an existing error. This preserves the first
      * error, which is the most significant. */


More information about the cairo-commit mailing list