Author: mordante
Date: Sat Jun 21 21:16:09 2008
New Revision: 27376
URL: http://svn.gna.org/viewcvs/wesnoth?rev=27376&view=rev
Log:
Initialize all members.
Modified:
trunk/src/video.cpp
Modified: trunk/src/video.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/video.cpp?rev=27376&r1=27375&r2=27376&view=diff
==============================================================================
--- trunk/src/video.cpp (original)
+++ trunk/src/video.cpp Sat Jun 21 21:16:09 2008
@@ -230,7 +230,7 @@
{
update_all = true;
}
-CVideo::CVideo() : bpp(0), fake_screen(false), help_string_(0),
updatesLocked_(0)
+CVideo::CVideo() : mode_changed_(false), bpp(0), fake_screen(false),
help_string_(0), updatesLocked_(0)
{
const int res = SDL_Init(SDL_INIT_VIDEO | SDL_INIT_NOPARACHUTE);
@@ -241,7 +241,7 @@
}
CVideo::CVideo( int x, int y, int bits_per_pixel, int flags)
- : bpp(0), fake_screen(false), help_string_(0),
updatesLocked_(0)
+ : mode_changed_(false), bpp(0), fake_screen(false),
help_string_(0), updatesLocked_(0)
{
const int res = SDL_Init( SDL_INIT_VIDEO | SDL_INIT_NOPARACHUTE);
if(res < 0) {
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits