Fixed BFont's GetTunedCount() and IsFixed()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13293 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1353,9 +1353,9 @@ ServerApp::_DispatchMessage(int32 code, BPrivate::LinkReceiver &link)
|
|||||||
|
|
||||||
// Returns:
|
// Returns:
|
||||||
// 1) int32 - number of font strikes available
|
// 1) int32 - number of font strikes available
|
||||||
int32 famid, styid;
|
uint16 famid, styid;
|
||||||
link.Read<int32>(&famid);
|
link.Read<uint16>(&famid);
|
||||||
link.Read<int32>(&styid);
|
link.Read<uint16>(&styid);
|
||||||
|
|
||||||
gFontServer->Lock();
|
gFontServer->Lock();
|
||||||
FontStyle *fstyle = gFontServer->GetStyle(famid, styid);
|
FontStyle *fstyle = gFontServer->GetStyle(famid, styid);
|
||||||
@@ -1395,9 +1395,9 @@ ServerApp::_DispatchMessage(int32 code, BPrivate::LinkReceiver &link)
|
|||||||
|
|
||||||
// Returns:
|
// Returns:
|
||||||
// 1) bool - font is/is not fixed
|
// 1) bool - font is/is not fixed
|
||||||
int32 famid, styid;
|
uint16 famid, styid;
|
||||||
link.Read<int32>(&famid);
|
link.Read<uint16>(&famid);
|
||||||
link.Read<int32>(&styid);
|
link.Read<uint16>(&styid);
|
||||||
|
|
||||||
gFontServer->Lock();
|
gFontServer->Lock();
|
||||||
FontStyle *fstyle = gFontServer->GetStyle(famid, styid);
|
FontStyle *fstyle = gFontServer->GetStyle(famid, styid);
|
||||||
|
|||||||
Reference in New Issue
Block a user