diff --git a/ChangeLog b/ChangeLog index b8690b9480..3afa1d31a2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-07-18 Sven Neumann + + * app/core/core-types.h (GIMP_COORDS_DEFAULT_VALUES): initialize + all members of the GimpCoords struct. + 2008-07-17 Sven Neumann * app/core/gimpcoords.c (gimp_coords_mix): also mix in the new diff --git a/app/core/core-types.h b/app/core/core-types.h index 143a89438b..3bbc8b4f58 100644 --- a/app/core/core-types.h +++ b/app/core/core-types.h @@ -45,11 +45,16 @@ #define GIMP_COORDS_MAX_WHEEL 1.0 #define GIMP_COORDS_DEFAULT_WHEEL 0.5 -#define GIMP_COORDS_DEFAULT_VALUES { 0.0, 0.0, \ - GIMP_COORDS_DEFAULT_PRESSURE, \ - GIMP_COORDS_DEFAULT_TILT, \ - GIMP_COORDS_DEFAULT_TILT, \ - GIMP_COORDS_DEFAULT_WHEEL } +#define GIMP_COORDS_DEFAULT_VELOCITY 0.0 + +#define GIMP_COORDS_DEFAULT_VALUES { 0.0, 0.0, \ + GIMP_COORDS_DEFAULT_PRESSURE, \ + GIMP_COORDS_DEFAULT_TILT, \ + GIMP_COORDS_DEFAULT_TILT, \ + GIMP_COORDS_DEFAULT_WHEEL, \ + 0.0, 0.0, 0.0, 0.0, \ + GIMP_COORDS_DEFAULT_VELOCITY, \ + 0.0 } /* base classes */