Commit 23506c0e authored by Hans Breuer's avatar Hans Breuer
Browse files

c99ism: declaration in the mid of a block

parent 53c1b21f
...@@ -121,11 +121,10 @@ on_draw (GtkWidget *widget, ...@@ -121,11 +121,10 @@ on_draw (GtkWidget *widget,
{ {
cairo_surface_t *overlay, *punch, *circles; cairo_surface_t *overlay, *punch, *circles;
cairo_t *overlay_cr, *punch_cr, *circles_cr; cairo_t *overlay_cr, *punch_cr, *circles_cr;
int width, height;
/* Fill the background */ /* Fill the background */
width = gtk_widget_get_allocated_width (widget); int width = gtk_widget_get_allocated_width (widget);
height = gtk_widget_get_allocated_height (widget); int height = gtk_widget_get_allocated_height (widget);
double radius = 0.5 * (width < height ? width : height) - 10; double radius = 0.5 * (width < height ? width : height) - 10;
double xc = width / 2.; double xc = width / 2.;
double yc = height / 2.; double yc = height / 2.;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment