Fixed a pair of syntax errors.
authorEli Gottlieb <eligottlieb@gmail.com>
Sun, 11 Jul 2010 17:11:22 -0400
changeset 4789 a6bc01875d20
parent 4788 0bfda420c936
child 4790 f0b0bdc07916
Fixed a pair of syntax errors.
src/video/SDL_shape.c
src/video/x11/SDL_x11shape.c
--- 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;
 }