app_server: Fixed RemoteDesktop font selection
* font_direction was written as uint8, but read as enum; it's not even used at the moment. * RemoteDesktop now uses the correct font again.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2009, Haiku, Inc.
|
* Copyright 2009-2019, Haiku, Inc.
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
*
|
*
|
||||||
* Authors:
|
* Authors:
|
||||||
@@ -385,10 +385,11 @@ RemoteMessage::ReadBitmap(BBitmap** _bitmap, bool minimal,
|
|||||||
status_t
|
status_t
|
||||||
RemoteMessage::ReadFontState(BFont& font)
|
RemoteMessage::ReadFontState(BFont& font)
|
||||||
{
|
{
|
||||||
uint8 encoding, spacing;
|
uint8 direction;
|
||||||
|
uint8 encoding;
|
||||||
|
uint8 spacing;
|
||||||
uint16 face;
|
uint16 face;
|
||||||
uint32 flags, familyAndStyle;
|
uint32 flags, familyAndStyle;
|
||||||
font_direction direction;
|
|
||||||
float falseBoldWidth, rotation, shear, size;
|
float falseBoldWidth, rotation, shear, size;
|
||||||
|
|
||||||
Read(direction);
|
Read(direction);
|
||||||
|
|||||||
Reference in New Issue
Block a user