changeset 4789:a6bc01875d20

Fixed a pair of syntax errors.
author Eli Gottlieb <eligottlieb@gmail.com>
date Sun, 11 Jul 2010 17:11:22 -0400
parents 0bfda420c936
children f0b0bdc07916
files src/video/SDL_shape.c src/video/x11/SDL_x11shape.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/SDL_shape.c	Fri Jul 09 20:24:44 2010 -0400
+++ b/src/video/SDL_shape.c	Sun Jul 11 17:11:22 2010 -0400
@@ -41,7 +41,7 @@
 	if(window == NULL)
 		return SDL_FALSE;
 	else
-		return (SDL_bool)(window->shaper != NULL)
+		return (SDL_bool)(window->shaper != NULL);
 }
 
 /* REQUIRES that bitmap point to a w-by-h bitmap with 1bpp. */
--- a/src/video/x11/SDL_x11shape.c	Fri Jul 09 20:24:44 2010 -0400
+++ b/src/video/x11/SDL_x11shape.c	Sun Jul 11 17:11:22 2010 -0400
@@ -33,7 +33,7 @@
 	result->usershownflag = 0;
 	result->driverdata = malloc(sizeof(SDL_ShapeData));
 	window->shaper = result;
-	int resized_properly = X11ResizeWindowShape(window);
+	int resized_properly = X11_ResizeWindowShape(window);
 	assert(resized_properly == 0);
 	return result;
 }