[Scummvm-git-logs] scummvm master -> 772e60526f397349cb8f7be48a278d90477f61a7

sev- sev at scummvm.org
Sat Sep 28 01:48:36 CEST 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
772e60526f GRAPHICS: Initialize class variable


Commit: 772e60526f397349cb8f7be48a278d90477f61a7
    https://github.com/scummvm/scummvm/commit/772e60526f397349cb8f7be48a278d90477f61a7
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2019-09-28T01:48:11+02:00

Commit Message:
GRAPHICS: Initialize class variable

Changed paths:
    graphics/nine_patch.h


diff --git a/graphics/nine_patch.h b/graphics/nine_patch.h
index faf44e5..6674099 100644
--- a/graphics/nine_patch.h
+++ b/graphics/nine_patch.h
@@ -68,7 +68,7 @@ public:
 	Common::Array<NinePatchMark *> _m;
 	int _fix;
 
-	NinePatchSide() : _fix(0) {}
+	NinePatchSide() : _fix(0) { _m.clear(); }
 	~NinePatchSide();
 
 	bool init(Graphics::TransparentSurface *bmp, bool vertical);





More information about the Scummvm-git-logs mailing list