From 26bf1f75c9b6c7835946da2f24342d4d49abd542 Mon Sep 17 00:00:00 2001 From: redman Date: Wed, 16 Jun 1999 02:10:25 +0000 Subject: Fix DDE code to reinitialize with new servername. --- win/tclWinDde.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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; } -- cgit v0.12