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 <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
Tested-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
Jon TURNEY 2011-02-11 13:15:40 +00:00
parent 71550a8665
commit 0c603509eb

View File

@ -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);