1
0
forked from aniani/vim

updated for version 7.2-304

This commit is contained in:
Bram Moolenaar
2009-11-25 11:38:30 +00:00
parent 4592dee576
commit 331dafdbb8
2 changed files with 6 additions and 1 deletions

View File

@@ -5597,7 +5597,10 @@ x11_export_final_selection()
vc.vc_type = CONV_NONE;
if (convert_setup(&vc, p_enc, (char_u *)"latin1") == OK)
{
conv_str = string_convert(&vc, str, (int*)&len);
int intlen = len;
conv_str = string_convert(&vc, str, &intlen);
len = intlen;
if (conv_str != NULL)
{
vim_free(str);