diff --git a/src/ccstruct/coutln.h b/src/ccstruct/coutln.h index 165e53e045..6de78283f9 100644 --- a/src/ccstruct/coutln.h +++ b/src/ccstruct/coutln.h @@ -72,10 +72,11 @@ struct Pix; ELISTIZEH (C_OUTLINE) class DLLSYM C_OUTLINE:public ELIST_LINK { public: - C_OUTLINE() { //empty constructor - steps = nullptr; - offsets = nullptr; - } + C_OUTLINE() { + stepcount = 0; + steps = nullptr; + offsets = nullptr; + } C_OUTLINE( //constructor CRACKEDGE *startpt, //from edge detector ICOORD bot_left, //bounding box //length of loop