summaryrefslogtreecommitdiff
path: root/src/MultiSrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/MultiSrc.c')
-rw-r--r--src/MultiSrc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/MultiSrc.c b/src/MultiSrc.c
index b53fa50..1ac3283 100644
--- a/src/MultiSrc.c
+++ b/src/MultiSrc.c
@@ -728,6 +728,7 @@ SetValues(Widget current, Widget request, Widget new, ArgList args, Cardinal *nu
if ( string_set || (old_src->multi_src.type != src->multi_src.type) ) {
RemoveOldStringOrFile(old_src, string_set);
+ src->multi_src.allocated_string = old_src->multi_src.allocated_string;
file = InitStringOrFile(src, string_set);
/* Load pieces does this logic for us, but it shouldn't. Its messy.*/