# HG changeset patch # User Edgar Simo # Date 1247397539 0 # Node ID b7590cd5969d417b3c7988ff9855f603679772f8 # Parent 97e9704fc26740e8bf859eeb2af1c82d0e179ca4 Minor fix. diff -r 97e9704fc267 -r b7590cd5969d test/automated/surface/surface.c --- a/test/automated/surface/surface.c Sat Jul 11 19:21:48 2009 +0000 +++ b/test/automated/surface/surface.c Sun Jul 12 11:18:59 2009 +0000 @@ -129,11 +129,12 @@ * X.X.X.X.. */ for (y=0; y<3; y++) { x = y % 2; - for (; x<80; x+=2) + for (; x<80; x+=2) { ret = SDL_DrawPoint( testsur, x, y, SDL_MapRGB( testsur->format, x*y, x*y/2, x*y/3 ) ); - if (SDL_ATassert( "SDL_DrawPoint", ret == 0)) - return; + if (SDL_ATassert( "SDL_DrawPoint", ret == 0)) + return; + } } /* Draw some lines. */