GUACAMOLE-947: Merge fix the initialization issue of CLIPRDR_FORMAT_LIST object

This commit is contained in:
Virtually Nick 2020-02-06 16:54:39 -05:00 committed by GitHub
commit 5ecad1c3d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,6 +78,7 @@ static UINT guac_rdp_cliprdr_send_format_list(CliprdrClientContext* cliprdr) {
/* We support CP-1252 and UTF-16 text */
CLIPRDR_FORMAT_LIST format_list = {
.msgType = CB_FORMAT_LIST,
.formats = (CLIPRDR_FORMAT[]) {
{ .formatId = CF_TEXT },
{ .formatId = CF_UNICODETEXT }