]> git.itanic.dy.fi Git - sdl-planets/commitdiff
planet.c: Fix minor style issue
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Sat, 20 Mar 2010 15:27:28 +0000 (17:27 +0200)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Sat, 20 Mar 2010 15:27:28 +0000 (17:27 +0200)
Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
planet.c

index 1dbd3f4880db7b81c9df0f5aad18f1ffd3496c73..1cf5d1ef50251cf947edf7f58f5b19156a8291d5 100644 (file)
--- a/planet.c
+++ b/planet.c
@@ -101,7 +101,7 @@ void draw_planet(SDL_Surface *screen, struct planet *p,
 
        y = MAX(pos.y - radius, 0);
 
-       if (radius * 2 <= 1 ) {
+       if (radius * 2 <= 1) {
                if (pos.x >= 0 && pos.x < screen->w &&
                    pos.y >= 0 && pos.y < screen->h)
                        putpixel(screen, (int)pos.x, (int)pos.y,