From 679f0fd1f3504b5536f18943e188606887f3785c Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Thu, 3 May 2018 01:06:44 +0300 Subject: [PATCH] Add a missing initializer --- source/text.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/text.cpp b/source/text.cpp index f791c3b2..dfb88e3f 100644 --- a/source/text.cpp +++ b/source/text.cpp @@ -11,7 +11,8 @@ Text::Text(const Font &f, const Technique *tech): font(f), mesh((TEXCOORD2, VERTEX2)), horz_align(0.0f), - vert_offset(0.0f) + vert_offset(0.0f), + width(0.0f) { object.set_mesh(&mesh); if(tech) -- 2.45.2