Oops. Fix thinko in previous commit.

This commit is contained in:
Behdad Esfahbod 2008-06-24 15:09:33 -04:00
parent 74789a702b
commit 425846dedb

View file

@ -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. */