From 0c603509eb7f9c83baf4e00b4558dce78f897ebf Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Fri, 11 Feb 2011 13:15:40 +0000 Subject: [PATCH] Cygwin/X: Cosmetic fixes to logging of result from X*TextPropertyToTextList() Report XLocaleNotSupported result from X*TextPropertyToTextList() Fix formatting for unknown results reported for X*TextPropertyToTextList() Signed-off-by: Jon TURNEY Reviewed-by: Colin Harrison Tested-by: Colin Harrison --- hw/xwin/winclipboardxevents.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hw/xwin/winclipboardxevents.c b/hw/xwin/winclipboardxevents.c index 8b502b117..b0006a01f 100644 --- a/hw/xwin/winclipboardxevents.c +++ b/hw/xwin/winclipboardxevents.c @@ -636,11 +636,14 @@ winClipboardFlushXEvents (HWND hwnd, case XNoMemory: ErrorF ("XNoMemory\n"); break; + case XLocaleNotSupported: + ErrorF ("XLocaleNotSupported\n"); + break; case XConverterNotFound: ErrorF ("XConverterNotFound\n"); break; default: - ErrorF ("%d", iReturn); + ErrorF ("%d\n", iReturn); break; } pszReturnData = malloc (1);