Mercurial > sdl-ios-xcode
changeset 3729:b7590cd5969d gsoc2009_unit_tests
Minor fix.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Sun, 12 Jul 2009 11:18:59 +0000 |
parents | 97e9704fc267 |
children | dafd796f0c95 |
files | test/automated/surface/surface.c |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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. */