[BUG_FIXED] Fix the display bug for "...".

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@751 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
Don Ho 2011-04-22 18:57:15 +00:00
parent 7bef0d0f37
commit d43b0a6ea0

View File

@ -107,7 +107,9 @@ StringArray::StringArray(ClipboardData cd, size_t maxLen)
size_t i = 0;
for ( ; i < _length ; i++)
{
if (!isCompleted && (i == _length-3 || i == _length-2 || i == _length-1))
if (!isCompleted && (i == _length-5 || i == _length-3 || i == _length-1))
_pBytes[i] = 0;
else if (!isCompleted && (i == _length-6 || i == _length-4 || i == _length-2))
_pBytes[i] = '.';
else
_pBytes[i] = cd[i];