Author: Carlos Lopez <[email protected]>
Date: Fri Jun 15 19:48:07 2012 +0200
generic_pen: Initialize data before rest of variables.
---
ETL/ETL/_pen.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ETL/ETL/_pen.h b/ETL/ETL/_pen.h
index 99458e5..82946fe 100644
--- a/ETL/ETL/_pen.h
+++ b/ETL/ETL/_pen.h
@@ -117,10 +117,10 @@ public:
class generic_pen_base
{
protected:
+ char *data_;
int x_,y_;
int w_,h_;
int pitch_;
- char *data_;
public:
generic_pen_base(): data_(NULL){}
generic_pen_base(char* data, int w, int h, int pitch): data_(data),
x_(0), y_(0), w_(w), h_(h), pitch_(pitch) { }
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl