summaryrefslogtreecommitdiff
path: root/src/os_mswin.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-03-06 23:38:09 +0000
committerBram Moolenaar <Bram@vim.org>2005-03-06 23:38:09 +0000
commitbc7aa85d8a1c3e5c74b68225702bd5b83b4a8f56 (patch)
tree993a2daa7cf60fa89f354763694f96f2ece63859 /src/os_mswin.c
parent19a09a189379659b917cf5ccff78f3e5ec061015 (diff)
downloadvim-git-bc7aa85d8a1c3e5c74b68225702bd5b83b4a8f56.tar.gz
updated for version 7.0056
Diffstat (limited to 'src/os_mswin.c')
-rw-r--r--src/os_mswin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os_mswin.c b/src/os_mswin.c
index 5e96da8af..a5e10be49 100644
--- a/src/os_mswin.c
+++ b/src/os_mswin.c
@@ -2564,9 +2564,11 @@ Messaging_WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
switch (data->dwData)
{
case COPYDATA_ENCODING:
+# ifdef FEAT_MBYTE
/* Remember the encoding that the client uses. */
vim_free(client_enc);
client_enc = enc_canonize((char_u *)data->lpData);
+# endif
return 1;
case COPYDATA_KEYS: