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:
Stefano Ceccherini 2005-06-27 15:44:47 +00:00
parent 418ab0643a
commit 9f5ffc2c3c
1 changed files with 6 additions and 6 deletions

View File

@ -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);