fFlags was not initialized in the =operator and in the copy constructors

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14467 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2005-10-21 21:56:06 +00:00
parent 9386f2e6a1
commit 718af224dd

View File

@ -369,6 +369,7 @@ BFont::BFont(const BFont &font)
fSpacing = font.fSpacing;
fEncoding = font.fEncoding;
fFace = font.fFace;
fFlags = font.fFlags;
fHeight = font.fHeight;
}
@ -384,6 +385,7 @@ BFont::BFont(const BFont *font)
fSpacing = font->fSpacing;
fEncoding = font->fEncoding;
fFace = font->fFace;
fFlags = font->fFlags;
fHeight = font->fHeight;
} else {
fFamilyID = be_plain_font->fFamilyID;
@ -394,6 +396,7 @@ BFont::BFont(const BFont *font)
fSpacing = be_plain_font->fSpacing;
fEncoding = be_plain_font->fEncoding;
fFace = be_plain_font->fFace;
fFlags = be_plain_font->fFlags;
fHeight = be_plain_font->fHeight;
}
}
@ -1204,6 +1207,7 @@ BFont
fEncoding = font.fEncoding;
fFace = font.fFace;
fHeight = font.fHeight;
fFlags = font.fFlags;
return *this;
}