1
0
Fork 0

avoid g++ warning about the members being initialized out of order

Author: Hans Ulrich Niedermann <hun@n-dimensional.de>
Committer: Tim Moore <timoore@redhat.com>
This commit is contained in:
timoore 2007-07-24 05:36:27 +00:00
parent 1c0c7d82bd
commit a91c194b98

View file

@ -241,7 +241,7 @@ public:
fgText(float x, float y, const string& c, bool digits=false): x(x), y(y), msg( c), digit( digits) {};
fgText( const fgText & image )
: x(image.x), y(image.y),digit(image.digit), msg( image.msg) { }
: x(image.x), y(image.y), msg(image.msg), digit(image.digit) { }
fgText& operator = ( const fgText & image ) {
x = image.x; y = image.y; msg= image.msg; digit = image.digit;