xserver-multidpi/hw/xwin/winclipboard
Colin Harrison 5920433c3a hw/xwin: Don't allocate one wchar_t too much for unicode text placed on the Windows clipboard
The count of wchar_t returned by MultiByteToWideChar() includes the terminating
null character, so don't add one to it.

Also, reduce the scope of various length variables

Signed-off-by: Colin Harrison <colin.harrison@virgin.net>
Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2014-11-09 14:24:44 +00:00
..
debug.c hw/xwin: Add xwinclip test client 2014-09-13 14:18:38 +01:00
internal.h hw/xwin: Fix clipboard thread restart 2014-11-09 14:22:51 +00:00
Makefile.am hw/xwin: Undefine _XSERVER64 in hw/xwin/winclipboard 2014-09-13 14:19:06 +01:00
textconv.c hw/xwin: Undefine _XSERVER64 in hw/xwin/winclipboard 2014-09-13 14:19:06 +01:00
thread.c hw/xwin: Fix clipboard thread restart 2014-11-09 14:22:51 +00:00
winclipboard.h hw/xwin: Add controls for enabling/disabling monitoring of PRIMARY selection 2014-11-09 14:22:35 +00:00
wndproc.c hw/xwin: Fix hang on shutdown when we own the clipboard. 2014-11-09 14:22:53 +00:00
xevents.c hw/xwin: Don't allocate one wchar_t too much for unicode text placed on the Windows clipboard 2014-11-09 14:24:44 +00:00
xwinclip.c hw/xwin: Add controls for enabling/disabling monitoring of PRIMARY selection 2014-11-09 14:22:35 +00:00
xwinclip.man hw/xwin: Add controls for enabling/disabling monitoring of PRIMARY selection 2014-11-09 14:22:35 +00:00