Fixed a pair of syntax errors.
authorEli Gottlieb <eligottlieb@gmail.com>
Sun, 11 Jul 2010 17:11:22 -0400
changeset 4789a6bc01875d20
parent 4788 0bfda420c936
child 4790 f0b0bdc07916
Fixed a pair of syntax errors.
src/video/SDL_shape.c
src/video/x11/SDL_x11shape.c
     1.1 --- a/src/video/SDL_shape.c	Fri Jul 09 20:24:44 2010 -0400
     1.2 +++ b/src/video/SDL_shape.c	Sun Jul 11 17:11:22 2010 -0400
     1.3 @@ -41,7 +41,7 @@
     1.4  	if(window == NULL)
     1.5  		return SDL_FALSE;
     1.6  	else
     1.7 -		return (SDL_bool)(window->shaper != NULL)
     1.8 +		return (SDL_bool)(window->shaper != NULL);
     1.9  }
    1.10  
    1.11  /* REQUIRES that bitmap point to a w-by-h bitmap with 1bpp. */
     2.1 --- a/src/video/x11/SDL_x11shape.c	Fri Jul 09 20:24:44 2010 -0400
     2.2 +++ b/src/video/x11/SDL_x11shape.c	Sun Jul 11 17:11:22 2010 -0400
     2.3 @@ -33,7 +33,7 @@
     2.4  	result->usershownflag = 0;
     2.5  	result->driverdata = malloc(sizeof(SDL_ShapeData));
     2.6  	window->shaper = result;
     2.7 -	int resized_properly = X11ResizeWindowShape(window);
     2.8 +	int resized_properly = X11_ResizeWindowShape(window);
     2.9  	assert(resized_properly == 0);
    2.10  	return result;
    2.11  }