Revision: 2421
          http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=2421&view=rev
Author:   rorthomas
Date:     2012-02-01 13:44:44 +0000 (Wed, 01 Feb 2012)
Log Message:
-----------
fixed uninitialized gui data bug

Modified Paths:
--------------
    trunk/source/main/gui/DashBoardManager.h

Modified: trunk/source/main/gui/DashBoardManager.h
===================================================================
--- trunk/source/main/gui/DashBoardManager.h    2012-02-01 11:50:34 UTC (rev 
2420)
+++ trunk/source/main/gui/DashBoardManager.h    2012-02-01 13:44:44 UTC (rev 
2421)
@@ -55,11 +55,13 @@
 
        dashData_t() : type(DC_INVALID)
        {
+               memset(&data, 0, sizeof(data));
        }
 
        dashData_t(char type, const char *name) : type(type), name(name)
        {
-       };
+               memset(&data, 0, sizeof(data));
+       }
 
 } dashData_t;
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Rigsofrods-devel mailing list
Rigsofrods-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel

Reply via email to