From 8208b16279961b191bb558c75c4a32e4e6b91feb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sun, 20 Oct 2019 13:58:16 +0200 Subject: [PATCH] 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. --- src/servers/app/drawing/interface/remote/RemoteMessage.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/servers/app/drawing/interface/remote/RemoteMessage.cpp b/src/servers/app/drawing/interface/remote/RemoteMessage.cpp index 05859ff28b..3a77561890 100644 --- a/src/servers/app/drawing/interface/remote/RemoteMessage.cpp +++ b/src/servers/app/drawing/interface/remote/RemoteMessage.cpp @@ -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);