re-indent mandelbrot

master
orange 12 years ago
parent cd58af7f7c
commit 97c466d109

@ -67,7 +67,8 @@ void drawmandelbrot(SDL_Surface *surface) {
int main(int argc, char *argv[]) { int main(int argc, char *argv[]) {
/* Set up SDL. */ /* Set up SDL. */
if (SDL_Init(SDL_INIT_EVERYTHING) < 0) { 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); exit(1);
} }
SDL_Surface *screen = SDL_SetVideoMode(320, 240, 32, SDL_SWSURFACE); SDL_Surface *screen = SDL_SetVideoMode(320, 240, 32, SDL_SWSURFACE);

Loading…
Cancel
Save