# HG changeset patch # User Bram Moolenaar # Date 1402572510 -7200 # Node ID a076237d1c3849535681e82946a9041ed5525d7f # Parent 72c6378384f237124c25087422d1544e0388747b 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 --- a/src/ui.c +++ b/src/ui.c @@ -2324,7 +2324,7 @@ clip_x11_convert_selection_cb(w, sel_ato 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 --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 319, +/**/ 318, /**/ 317,