X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftext.h;h=6de3573fc6dfda35495b40d303065d412413a599;hb=81c4024fb6acf37df702a803dc4efdf82a81525a;hp=708380ab60f68734e126485f166bbb5ad0b93058;hpb=56c41b294aa47a38ac3e1be70d4868f260cb4274;p=libs%2Fgltk.git diff --git a/source/text.h b/source/text.h index 708380a..6de3573 100644 --- a/source/text.h +++ b/source/text.h @@ -22,16 +22,16 @@ class MSPGLTK_API Text private: struct Line { - unsigned start; - unsigned bytes; - unsigned length; - unsigned width; + unsigned start = 0; + unsigned bytes = 0; + unsigned length = 0; + unsigned width = 0; }; struct RenderData; struct CoordsToGeomData; - const Style *style; + const Style *style = nullptr; std::string text; std::vector lines;