]> git.itanic.dy.fi Git - mandelbrot/commitdiff
Fix printf formatting
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Tue, 3 May 2011 19:45:30 +0000 (22:45 +0300)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Tue, 3 May 2011 19:45:30 +0000 (22:45 +0300)
Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
mandelbrot.c

index 5dc9aed7f65f8054cc8161e09f874f453d4add28..06e0a743b54d265223766a01131cf614e17b387e 100644 (file)
@@ -168,7 +168,7 @@ static void loop(struct context *ctx)
                x2 = ctx->origo_x + aspect_ratio / ctx->zoom;
                y1 = ctx->origo_y - 1 / ctx->zoom;
                y2 = ctx->origo_y + 1 / ctx->zoom;
-               printf("Drawing area (%f, %f)(%f, %f), zoom %d\n",
+               printf("Drawing area (%LF, %LF)(%LF, %LF), zoom %d\n",
                        x1, y1, x2, y2, ctx->zooms);
                draw_mandelbrot(ctx->screen, x1, x2, y1, y2);
        } while (!read_events(ctx));