X-Git-Url: http://git.tdb.fi/?p=libs%2Fgltk.git;a=blobdiff_plain;f=source%2Ftext.h;fp=source%2Ftext.h;h=cdde08c2b081aa42804ec16bf6d0656c343c8d3c;hp=708380ab60f68734e126485f166bbb5ad0b93058;hb=9f38197854e699a6093a906ab43f4238f3cd2388;hpb=b4a3d651f57c46507aaa99a71a14fea15f0e430d diff --git a/source/text.h b/source/text.h index 708380a..cdde08c 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 = 0; std::string text; std::vector lines;