From 23d857d96a9f5e72b7ac1cbf9e76c6349c2bbb6a Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Tue, 13 Oct 2009 12:58:06 +0000 Subject: [PATCH] Fix missing initialization of fSpacing. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33572 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/fontdemo/FontDemoView.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/apps/fontdemo/FontDemoView.cpp b/src/apps/fontdemo/FontDemoView.cpp index cfcc6da3e8..a7a0d4aa3b 100644 --- a/src/apps/fontdemo/FontDemoView.cpp +++ b/src/apps/fontdemo/FontDemoView.cpp @@ -27,6 +27,8 @@ FontDemoView::FontDemoView(BRect rect) fBitmap(NULL), fBufferView(NULL), fString(NULL), + fFontSize(50.0), + fSpacing(0.0), fOutLineLevel(0), fDrawingMode(B_OP_COPY), fBoundingBoxes(false), @@ -35,7 +37,7 @@ FontDemoView::FontDemoView(BRect rect) { SetViewColor(B_TRANSPARENT_COLOR); SetString("Haiku, inc."); - SetFontSize(50.0); + SetFontSize(fFontSize); SetAntialiasing(true); _NewBitmap(Bounds());