From 1f133063aa50df24449381fd173659767e9314fd Mon Sep 17 00:00:00 2001 From: mathias Date: Wed, 17 Nov 2004 16:39:30 +0000 Subject: fixed missing init for pointer in destructor .. could lead to segfaults --- src/FbTk/XmbFontImp.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FbTk/XmbFontImp.cc b/src/FbTk/XmbFontImp.cc index dc5c902..fe222db 100644 --- a/src/FbTk/XmbFontImp.cc +++ b/src/FbTk/XmbFontImp.cc @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: XmbFontImp.cc,v 1.14 2004/10/04 12:43:52 rathnor Exp $ +// $Id$ #include "XmbFontImp.hh" @@ -198,7 +198,7 @@ XFontSet createFontSet(const char *fontname, bool utf8mode) { }; namespace FbTk { -XmbFontImp::XmbFontImp(const char *filename, bool utf8):m_fontset(0), m_utf8mode(utf8) { +XmbFontImp::XmbFontImp(const char *filename, bool utf8):m_fontset(0), m_setextents(0), m_utf8mode(utf8) { if (filename != 0) load(filename); } -- cgit v0.11.2