summaryrefslogtreecommitdiff
blob: 45ee8d3f696eb9d92db889f1206d5e1a8ba4a84c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- ddd-3.3.1/ddd/converters.C.orig	2001-04-26 13:08:07.000000000 +0200
+++ ddd-3.3.1/ddd/converters.C	2003-10-05 15:58:14.000000000 +0200
@@ -549,7 +549,8 @@
 
 	while (segment.contains('\n'))
 	{
-	    buf += MString(segment.before('\n').chars(), charset) + cr();
+	    string _segment = segment.before('\n');
+	    buf += MString(_segment.chars(), charset) + cr();
 	    segment = segment.after('\n');
 	}