commit | 980e58f7b324980d40ce690506897d138e5e2b70 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jun 12 13:28:30 2014 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jun 12 13:28:30 2014 +0200 |
tree | 7d8e115ce9e1af5395ff1a3c1887f333f7056d1d | |
parent | e3a8bab6304117b5c341171299472e1a00e70c85 [diff] [blame] |
updated for version 7.4.319 Problem: Crash when putting zero bytes on the clipboard. Solution: Do not support the utf8_atom target when not using an Unicode encoding. (Naofumi Honda)
diff --git a/src/ui.c b/src/ui.c index fc91de6..570b848 100644 --- a/src/ui.c +++ b/src/ui.c
@@ -2324,7 +2324,7 @@ if ( *target != XA_STRING #ifdef FEAT_MBYTE && *target != vimenc_atom - && *target != utf8_atom + && (*target != utf8_atom || !enc_utf8) #endif && *target != vim_atom && *target != text_atom