Fixed typo.
[synfig.git] / synfig-core / trunk / src / synfig / vector.h
index 25a5e60..e44137a 100644 (file)
@@ -2,7 +2,7 @@
 /*!    \file vector.h
 **     \brief Various discreet type definitions
 **
-**     $Id: vector.h,v 1.2 2005/01/23 04:03:21 darco Exp $
+**     $Id$
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
@@ -71,7 +71,7 @@ private:
        value_type _x, _y;
 
 public:
-       Vector() { };
+       Vector(): _x(0.0), _y(0.0) { };
        Vector(const value_type &x, const value_type &y):_x(x),_y(y) { };
 
        bool is_valid()const { return !(isnan(_x) || isnan(_y)); }