summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/ddd/files/ddd-3.3.1-help-window-fix.patch')
-rw-r--r--dev-util/ddd/files/ddd-3.3.1-help-window-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-util/ddd/files/ddd-3.3.1-help-window-fix.patch b/dev-util/ddd/files/ddd-3.3.1-help-window-fix.patch
new file mode 100644
index 000000000000..45ee8d3f696e
--- /dev/null
+++ b/dev-util/ddd/files/ddd-3.3.1-help-window-fix.patch
@@ -0,0 +1,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');
+ }
+