Code clean up.

This commit is contained in:
fendrin 2013-05-06 20:51:57 +02:00
parent a1d6ad300d
commit fd89e54dff

View File

@ -354,9 +354,7 @@ void button::draw_contents()
}
}
surface nimage = make_neutral_surface(image);
//TODO avoid magic numbers
//SDL_Rect r = create_rect(1, 1, 0, 0);
surface nimage = make_neutral_surface(image);
blit_surface(noverlay, NULL, nimage, NULL);
image = nimage;
}