src/SDL_compat.c
changeset 5612 41f033e6f311
parent 5535 96594ac5fd1a
child 5941 e4e18a80be61
--- a/src/SDL_compat.c	Sun Aug 14 17:21:21 2011 -0400
+++ b/src/SDL_compat.c	Sun Aug 14 21:57:50 2011 -0400
@@ -821,6 +821,7 @@
 SDL_WM_SetIcon(SDL_Surface * icon, Uint8 * mask)
 {
     SDL_VideoIcon = icon;
+    ++SDL_VideoIcon->refcount;
 }
 
 int