updated for version 7.0e06
diff --git a/src/misc1.c b/src/misc1.c
index 67a2fc0..4f0ef02 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -321,7 +321,7 @@
++ind_done;
}
++ind_len;
- if (round == 2)
+ if (p != NULL)
*p++ = *s;
++s;
}
@@ -332,7 +332,7 @@
{
todo -= tab_pad;
++ind_len;
- if (round == 2)
+ if (p != NULL)
*p++ = TAB;
}
@@ -341,7 +341,7 @@
{
todo -= (int)curbuf->b_p_ts;
++ind_len;
- if (round == 2)
+ if (p != NULL)
*p++ = TAB;
}
@@ -350,11 +350,11 @@
{
--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. */