summaryrefslogtreecommitdiffstats
path: root/mac/tkMacSend.c
diff options
context:
space:
mode:
authordas <das>2002-10-09 11:56:25 (GMT)
committerdas <das>2002-10-09 11:56:25 (GMT)
commit4278227fc8a6be392dcdaeeb74167fd1197e50ed (patch)
tree7a0531085231adfb4afeee1749324d002f0e35c2 /mac/tkMacSend.c
parent8cbbdb18b55a4c0123e7c195f078bfe52e27f2a4 (diff)
downloadtk-4278227fc8a6be392dcdaeeb74167fd1197e50ed.zip
tk-4278227fc8a6be392dcdaeeb74167fd1197e50ed.tar.gz
tk-4278227fc8a6be392dcdaeeb74167fd1197e50ed.tar.bz2
* generic/tkInt.decls(tkIntXlib): added XQueryTree declaration for
mac & aqua, since it's now called from ParentXId via Tk_HandleEvent. * generic/tkIntXlibDecls.h: * generic/tkStubInit.c: regen. * mac/tkMacXStubs.c: added XQueryTree stub * mac/tkMacEmbed.c (TkpUseWindow): check that container window has -container option set (sync with other platforms). * mac/tkMacBitmap.c: * mac/tkMacFont.c: * mac/tkMacSend.c: * mac/tkMacTest.c: * mac/tkMacWm.c: CONSTification. * mac/tkMacProjects.sea.hqx: added tkStyle.c and tkUndo.c to tk library projects.
Diffstat (limited to 'mac/tkMacSend.c')
-rw-r--r--mac/tkMacSend.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mac/tkMacSend.c b/mac/tkMacSend.c
index 63dbfbb..e434d79 100644
--- a/mac/tkMacSend.c
+++ b/mac/tkMacSend.c
@@ -31,7 +31,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacSend.c,v 1.6 2002/08/05 04:30:40 dgp Exp $
+ * RCS: @(#) $Id: tkMacSend.c,v 1.7 2002/10/09 11:56:54 das Exp $
*/
#include <Gestalt.h>
@@ -249,7 +249,7 @@ Tk_SetAppName(
int i, suffix, offset, result;
int createCommand = 0;
RegisteredInterp *riPtr, *prevPtr;
- char *actualName;
+ CONST char *actualName;
Tcl_DString dString;
Tcl_Obj *resultObjPtr, *interpNamePtr;
char *interpName;
@@ -306,7 +306,7 @@ Tk_SetAppName(
actualName = Tcl_DStringValue(&dString);
}
suffix++;
- sprintf(actualName + offset, "%d", suffix);
+ sprintf(Tcl_DStringValue(&dString) + offset, "%d", suffix);
i = 0;
} else {
i++;