summaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
authormathias <mathias>2004-11-17 16:39:30 (GMT)
committermathias <mathias>2004-11-17 16:39:30 (GMT)
commit1f133063aa50df24449381fd173659767e9314fd (patch)
tree482ac482caa6fc25357dbe58238385e8d9e475df /src/FbTk
parent6fe16959c2f7b69713075e0aa2c71711a7b90404 (diff)
downloadfluxbox_lack-1f133063aa50df24449381fd173659767e9314fd.zip
fluxbox_lack-1f133063aa50df24449381fd173659767e9314fd.tar.bz2
fixed missing init for pointer in destructor .. could lead to segfaults
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/XmbFontImp.cc4
1 files 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 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: XmbFontImp.cc,v 1.14 2004/10/04 12:43:52 rathnor Exp $ 22// $Id$
23 23
24#include "XmbFontImp.hh" 24#include "XmbFontImp.hh"
25 25
@@ -198,7 +198,7 @@ XFontSet createFontSet(const char *fontname, bool utf8mode) {
198}; 198};
199namespace FbTk { 199namespace FbTk {
200 200
201XmbFontImp::XmbFontImp(const char *filename, bool utf8):m_fontset(0), m_utf8mode(utf8) { 201XmbFontImp::XmbFontImp(const char *filename, bool utf8):m_fontset(0), m_setextents(0), m_utf8mode(utf8) {
202 if (filename != 0) 202 if (filename != 0)
203 load(filename); 203 load(filename);
204} 204}