summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2012-04-13 16:57:14 +0000
committerManolo Gouy <Manolo>2012-04-13 16:57:14 +0000
commite0fca85c740c5d3fda2f84359791f76361ecd97c (patch)
tree3392a939ad398fe727deefffd519c609a1e24845
parent6f4c59079f97289eafc29840e3873ce08c869e71 (diff)
Added missing initialization in Fl_Paged_Device constructor
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9343 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--FL/Fl_Paged_Device.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/Fl_Paged_Device.H b/FL/Fl_Paged_Device.H
index b2e9169a7..6e15bb99c 100644
--- a/FL/Fl_Paged_Device.H
+++ b/FL/Fl_Paged_Device.H
@@ -106,7 +106,7 @@ protected:
/** \brief vertical offset to the origin of graphics coordinates */
int y_offset;
/** \brief The constructor */
- Fl_Paged_Device() : Fl_Surface_Device(NULL) {};
+ Fl_Paged_Device() : Fl_Surface_Device(NULL), x_offset(0), y_offset(0) {};
#if FLTK_ABI_VERSION >= 10302
public:
/** \brief The destructor */