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
diff --git a/src/version.c b/src/version.c
index 00948fd..335f9de 100644
--- a/src/version.c
+++ b/src/version.c
@@ -735,6 +735,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 319,
+/**/
318,
/**/
317,