diff options
author | redman <redman@noemail.net> | 1999-06-16 02:10:25 (GMT) |
---|---|---|
committer | redman <redman@noemail.net> | 1999-06-16 02:10:25 (GMT) |
commit | b33b00675dedef4bd1d5389aac4ce2b02801bdb6 (patch) | |
tree | fdc77ec20b581edd2cc015a25736b6c9e6c317cd /win/tclWinDde.c | |
parent | 3a56af39bc918ccd5a1e76b9d3e0b462fa7cdc3b (diff) | |
download | tcl-b33b00675dedef4bd1d5389aac4ce2b02801bdb6.zip tcl-b33b00675dedef4bd1d5389aac4ce2b02801bdb6.tar.gz tcl-b33b00675dedef4bd1d5389aac4ce2b02801bdb6.tar.bz2 |
Fix DDE code to reinitialize with new servername.
FossilOrigin-Name: 9e936b81460c9ef89c7537a489503ea1990b58db
Diffstat (limited to 'win/tclWinDde.c')
-rw-r--r-- | win/tclWinDde.c | 7 |
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; } |