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> |
||
|---|---|---|
| .. | ||
| Makefile.am | ||
| debug.c | ||
| internal.h | ||
| textconv.c | ||
| thread.c | ||
| winclipboard.h | ||
| wndproc.c | ||
| xevents.c | ||
| xwinclip.c | ||
| xwinclip.man | ||