Fix GCC4 compilation issue.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21950 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
957200056f
commit
3b1dcc1e09
@ -842,8 +842,8 @@ ServerPicture::SetFontFromLink(BPrivate::LinkReceiver& link)
|
||||
link.Read<uint32>(&fontID);
|
||||
ServerFont font;
|
||||
font.SetFamilyAndStyle(fontID);
|
||||
WriteSetFontFamily((font_family)font.Family());
|
||||
WriteSetFontStyle((font_style)font.Style());
|
||||
WriteSetFontFamily(font.Family());
|
||||
WriteSetFontStyle(font.Style());
|
||||
}
|
||||
|
||||
if (mask & B_FONT_SIZE) {
|
||||
|
Loading…
Reference in New Issue
Block a user