git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11227 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2003-10-22 17:30:13 +00:00
parent 3a177a1741
commit 7c91720081
1 changed files with 1 additions and 2 deletions

View File

@ -107,13 +107,12 @@ static void string_utf16(char *dest, char *src, int len)
{
int i;
memset (dest, 0, 1000);
for (i=0; i<len; i++) {
dest[i*2] = src[i];
dest[i*2+1] = 0;
}
/* trailing zeroes */
dest[i*2] = 0;
dest[i*2+1] = 0;
}