From 3bbc53521ee2fdc177f2756297c0f4038368cef6 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Wed, 25 Apr 2012 10:50:58 +0100 Subject: Add missing struct field initializers Signed-off-by: Daniel P. Berrange --- client/x11/platform.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'client/x11') diff --git a/client/x11/platform.cpp b/client/x11/platform.cpp index f35d5374..0669b69f 100644 --- a/client/x11/platform.cpp +++ b/client/x11/platform.cpp @@ -128,12 +128,12 @@ struct clipboard_format_info { static struct clipboard_format_info clipboard_formats[] = { { VD_AGENT_CLIPBOARD_UTF8_TEXT, { "UTF8_STRING", - "text/plain;charset=UTF-8", "text/plain;charset=utf-8", NULL }, }, - { VD_AGENT_CLIPBOARD_IMAGE_PNG, { "image/png", NULL }, }, + "text/plain;charset=UTF-8", "text/plain;charset=utf-8", NULL }, { 0 }, 0}, + { VD_AGENT_CLIPBOARD_IMAGE_PNG, { "image/png", NULL }, { 0 }, 0}, { VD_AGENT_CLIPBOARD_IMAGE_BMP, { "image/bmp", "image/x-bmp", - "image/x-MS-bmp", "image/x-win-bitmap", NULL }, }, - { VD_AGENT_CLIPBOARD_IMAGE_TIFF, { "image/tiff", NULL }, }, - { VD_AGENT_CLIPBOARD_IMAGE_JPG, { "image/jpeg", NULL }, }, + "image/x-MS-bmp", "image/x-win-bitmap", NULL }, { 0 }, 0}, + { VD_AGENT_CLIPBOARD_IMAGE_TIFF, { "image/tiff", NULL }, { 0 }, 0}, + { VD_AGENT_CLIPBOARD_IMAGE_JPG, { "image/jpeg", NULL }, { 0 }, 0}, }; #define clipboard_format_count ((int)(sizeof(clipboard_formats)/sizeof(clipboard_formats[0]))) -- cgit