From 97c466d109e575028a01e62d330227a6f8a6a02b Mon Sep 17 00:00:00 2001 From: orange Date: Mon, 10 Jun 2013 09:09:53 +0200 Subject: [PATCH] re-indent mandelbrot --- mandelbrot.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mandelbrot.c b/mandelbrot.c index 90cae93..c3875cb 100644 --- a/mandelbrot.c +++ b/mandelbrot.c @@ -12,10 +12,10 @@ Uint32 outcolor(int it) { /* "Compute" the in-coloring. */ Uint32 incolor() { - return 0x00000000; /* black */ + return 0x00000000; /* black */ } -void drawmandelbrot(SDL_Surface *surface) { +void drawmandelbrot(SDL_Surface * surface) { if (SDL_MUSTLOCK(surface)) { SDL_LockSurface(surface); } @@ -67,7 +67,8 @@ void drawmandelbrot(SDL_Surface *surface) { int main(int argc, char *argv[]) { /* Set up SDL. */ if (SDL_Init(SDL_INIT_EVERYTHING) < 0) { - fprintf(stderr, "Error: Could not initialize SDL: %s.\n", SDL_GetError()); + fprintf(stderr, "Error: Could not initialize SDL: %s.\n", + SDL_GetError()); exit(1); } SDL_Surface *screen = SDL_SetVideoMode(320, 240, 32, SDL_SWSURFACE);