Improve brace readability for multi-line conditional

This commit is contained in:
Carl Worth 2007-10-30 09:45:45 -07:00
parent f43f0c1040
commit 8d8724e804

View file

@ -3170,11 +3170,14 @@ cairo_get_current_point (cairo_t *cr, double *x_ret, double *y_ret)
double x, y;
if (cr->status == CAIRO_STATUS_SUCCESS &&
_cairo_path_fixed_get_current_point (cr->path, &x_fixed, &y_fixed)) {
_cairo_path_fixed_get_current_point (cr->path, &x_fixed, &y_fixed))
{
x = _cairo_fixed_to_double (x_fixed);
y = _cairo_fixed_to_double (y_fixed);
_cairo_gstate_backend_to_user (cr->gstate, &x, &y);
} else {
}
else
{
x = 0.0;
y = 0.0;
}