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:
parent
418ab0643a
commit
9f5ffc2c3c
|
@ -1353,9 +1353,9 @@ ServerApp::_DispatchMessage(int32 code, BPrivate::LinkReceiver &link)
|
|||
|
||||
// Returns:
|
||||
// 1) int32 - number of font strikes available
|
||||
int32 famid, styid;
|
||||
link.Read<int32>(&famid);
|
||||
link.Read<int32>(&styid);
|
||||
uint16 famid, styid;
|
||||
link.Read<uint16>(&famid);
|
||||
link.Read<uint16>(&styid);
|
||||
|
||||
gFontServer->Lock();
|
||||
FontStyle *fstyle = gFontServer->GetStyle(famid, styid);
|
||||
|
@ -1395,9 +1395,9 @@ ServerApp::_DispatchMessage(int32 code, BPrivate::LinkReceiver &link)
|
|||
|
||||
// Returns:
|
||||
// 1) bool - font is/is not fixed
|
||||
int32 famid, styid;
|
||||
link.Read<int32>(&famid);
|
||||
link.Read<int32>(&styid);
|
||||
uint16 famid, styid;
|
||||
link.Read<uint16>(&famid);
|
||||
link.Read<uint16>(&styid);
|
||||
|
||||
gFontServer->Lock();
|
||||
FontStyle *fstyle = gFontServer->GetStyle(famid, styid);
|
||||
|
|
Loading…
Reference in New Issue