From bf2fd7a9969776ab1ae66c2042e34a4679241767 Mon Sep 17 00:00:00 2001 From: Matt Hortman Date: Thu, 23 Feb 2012 14:37:23 -0500 Subject: [PATCH] change to build with latest FreeRDP --- protocols/rdp/src/rdp_gdi.c | 2 +- protocols/rdp/src/rdp_glyph.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 protocols/rdp/src/rdp_gdi.c mode change 100644 => 100755 protocols/rdp/src/rdp_glyph.c diff --git a/protocols/rdp/src/rdp_gdi.c b/protocols/rdp/src/rdp_gdi.c old mode 100644 new mode 100755 index 8ec80a01..30b4db24 --- a/protocols/rdp/src/rdp_gdi.c +++ b/protocols/rdp/src/rdp_gdi.c @@ -85,7 +85,7 @@ void guac_rdp_gdi_memblt(rdpContext* context, MEMBLT_ORDER* memblt) { void guac_rdp_gdi_opaquerect(rdpContext* context, OPAQUE_RECT_ORDER* opaque_rect) { guac_client* client = ((rdp_freerdp_context*) context)->client; - uint32 color = freerdp_color_convert(opaque_rect->color, + uint32 color = freerdp_color_convert_var(opaque_rect->color, context->instance->settings->color_depth, 32, ((rdp_freerdp_context*) context)->clrconv); diff --git a/protocols/rdp/src/rdp_glyph.c b/protocols/rdp/src/rdp_glyph.c old mode 100644 new mode 100755 index 608b722f..c6fbce0d --- a/protocols/rdp/src/rdp_glyph.c +++ b/protocols/rdp/src/rdp_glyph.c @@ -142,11 +142,11 @@ void guac_rdp_glyph_begindraw(rdpContext* context, guac_client* client = ((rdp_freerdp_context*) context)->client; rdp_guac_client_data* guac_client_data = (rdp_guac_client_data*) client->data; - bgcolor = freerdp_color_convert(bgcolor, + bgcolor = freerdp_color_convert_var(bgcolor, context->instance->settings->color_depth, 32, ((rdp_freerdp_context*) context)->clrconv); - fgcolor = freerdp_color_convert(fgcolor, + fgcolor = freerdp_color_convert_var(fgcolor, context->instance->settings->color_depth, 32, ((rdp_freerdp_context*) context)->clrconv);