1
0
forked from aniani/vim

updated for version 7.0e06

This commit is contained in:
Bram Moolenaar
2006-04-22 22:33:57 +00:00
parent 57657d85c6
commit eb3593b38b
49 changed files with 729 additions and 365 deletions

View File

@@ -321,7 +321,7 @@ copy_indent(size, src)
++ind_done;
}
++ind_len;
if (round == 2)
if (p != NULL)
*p++ = *s;
++s;
}
@@ -332,7 +332,7 @@ copy_indent(size, src)
{
todo -= tab_pad;
++ind_len;
if (round == 2)
if (p != NULL)
*p++ = TAB;
}
@@ -341,7 +341,7 @@ copy_indent(size, src)
{
todo -= (int)curbuf->b_p_ts;
++ind_len;
if (round == 2)
if (p != NULL)
*p++ = TAB;
}
@@ -350,11 +350,11 @@ copy_indent(size, src)
{
--todo;
++ind_len;
if (round == 2)
if (p != NULL)
*p++ = ' ';
}
if (round == 1)
if (p == NULL)
{
/* Allocate memory for the result: the copied indent, new indent
* and the rest of the line. */