]> git.itanic.dy.fi Git - mandelbrot/blobdiff - mandelbrot.c
Fix printf formatting
[mandelbrot] / 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;
                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));
                        x1, y1, x2, y2, ctx->zooms);
                draw_mandelbrot(ctx->screen, x1, x2, y1, y2);
        } while (!read_events(ctx));