summaryrefslogtreecommitdiffstats
path: root/win/tclWinDde.c
diff options
context:
space:
mode:
authorredman <redman>1999-06-16 02:10:25 (GMT)
committerredman <redman>1999-06-16 02:10:25 (GMT)
commit26bf1f75c9b6c7835946da2f24342d4d49abd542 (patch)
treefdc77ec20b581edd2cc015a25736b6c9e6c317cd /win/tclWinDde.c
parent3b0e43889ac4f69b3d563e91c5cadd5371853d41 (diff)
downloadtcl-26bf1f75c9b6c7835946da2f24342d4d49abd542.zip
tcl-26bf1f75c9b6c7835946da2f24342d4d49abd542.tar.gz
tcl-26bf1f75c9b6c7835946da2f24342d4d49abd542.tar.bz2
Fix DDE code to reinitialize with new servername.
Diffstat (limited to 'win/tclWinDde.c')
-rw-r--r--win/tclWinDde.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/win/tclWinDde.c b/win/tclWinDde.c
index e0bb5ea..021ff5a 100644
--- a/win/tclWinDde.c
+++ b/win/tclWinDde.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinDde.c,v 1.3 1999/05/28 23:02:38 stanton Exp $
+ * RCS: @(#) $Id: tclWinDde.c,v 1.4 1999/06/16 02:10:25 redman Exp $
*/
#include "tclPort.h"
@@ -305,6 +305,11 @@ DdeSetServerName(interp, name)
}
Tcl_DStringFree(&dString);
+ /*
+ * re-initialize with the new name
+ */
+ Initialize();
+
return riPtr->name;
}