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:
Axel Dörfler 2019-10-20 13:58:16 +02:00
parent 6ece979dad
commit 8208b16279

View File

@ -1,5 +1,5 @@
/*
* Copyright 2009, Haiku, Inc.
* Copyright 2009-2019, Haiku, Inc.
* Distributed under the terms of the MIT License.
*
* Authors:
@ -385,10 +385,11 @@ RemoteMessage::ReadBitmap(BBitmap** _bitmap, bool minimal,
status_t
RemoteMessage::ReadFontState(BFont& font)
{
uint8 encoding, spacing;
uint8 direction;
uint8 encoding;
uint8 spacing;
uint16 face;
uint32 flags, familyAndStyle;
font_direction direction;
float falseBoldWidth, rotation, shear, size;
Read(direction);