m_order in the LayerSet class is not initialized while everything else is.
From: Erik Hovland <erik@hovland.org>
---
libs/libmyth/uitypes.cpp | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/libs/libmyth/uitypes.cpp b/libs/libmyth/uitypes.cpp
index 13f456e..a0c6ec1 100644
a
|
b
|
using namespace std; |
23 | 23 | #undef LoadImage |
24 | 24 | #endif |
25 | 25 | |
26 | | LayerSet::LayerSet(const QString &name) |
| 26 | LayerSet::LayerSet(const QString &name) : |
| 27 | m_debug(false), |
| 28 | m_context(-1), |
| 29 | m_order(-1), |
| 30 | m_name(name), |
| 31 | numb_layers(-1), |
| 32 | allTypes(new vector<UIType *>) |
27 | 33 | { |
28 | | m_name = name; |
29 | | m_context = -1; |
30 | | m_debug = false; |
31 | | numb_layers = -1; |
32 | | allTypes = new vector<UIType *>; |
33 | 34 | } |
34 | 35 | |
35 | 36 | LayerSet::~LayerSet() |