changeset 834:7bb2c09d3abb

Don't count the space joining lines if it hasn't been included.
author Ben Schmidt
date Mon, 23 Jan 2012 18:01:35 +1100
parents a1ba22fc5a36
children ac0272a516f7
files src/prepstdreply.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/prepstdreply.c	Mon Jan 23 23:47:37 2012 +1100
+++ b/src/prepstdreply.c	Mon Jan 23 18:01:35 2012 +1100
@@ -1036,11 +1036,11 @@
 					tmp = mystrdup(pos);
 				} else {
 					tmp = concatstr(3, prev, " ", pos);
+					len++;
 				}
 				myfree(line);
 				line = tmp;
 				myfree(prev);
-				len++;
 				pos = line + len;
 			}
 			prev = NULL;