summaryrefslogtreecommitdiffstats
path: root/win/tkWinX.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2002-01-25 21:09:35 (GMT)
committerdgp <dgp@users.sourceforge.net>2002-01-25 21:09:35 (GMT)
commit6ed2bb40b9be7079b3eb3b9872657d06d568dc7f (patch)
tree2041d0c0de9f76a800e1af4c067e78376fbdd570 /win/tkWinX.c
parent7b64060dd94a995160cc8ccbd5bee7556fd996a9 (diff)
downloadtk-6ed2bb40b9be7079b3eb3b9872657d06d568dc7f.zip
tk-6ed2bb40b9be7079b3eb3b9872657d06d568dc7f.tar.gz
tk-6ed2bb40b9be7079b3eb3b9872657d06d568dc7f.tar.bz2
* Updated callers of Tcl_SplitList and Tcl_Merge.
* Updated callers of Tcl_GetStringResult. Rewrote PrintScrollFractions to ScrollFractions to stop scribbling directly on interp->result. * Updated callers of Tcl_GetVar, Tcl_GetVar2 * Updated callers of Tcl_SplitPath, Tcl_JoinPath, and Tcl_TranslateFileName.
Diffstat (limited to 'win/tkWinX.c')
-rw-r--r--win/tkWinX.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/win/tkWinX.c b/win/tkWinX.c
index d277fc7..e17a8fb 100644
--- a/win/tkWinX.c
+++ b/win/tkWinX.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: tkWinX.c,v 1.17 2001/12/28 23:43:24 hobbs Exp $
+ * RCS: @(#) $Id: tkWinX.c,v 1.18 2002/01/25 21:09:37 dgp Exp $
*/
#include "tkWinInt.h"
@@ -325,10 +325,10 @@ TkWinGetPlatformId()
*----------------------------------------------------------------------
*/
-char *
+CONST char *
TkGetDefaultScreenName(interp, screenName)
Tcl_Interp *interp; /* Not used. */
- char *screenName; /* If NULL, use default string. */
+ CONST char *screenName; /* If NULL, use default string. */
{
if ((screenName == NULL) || (screenName[0] == '\0')) {
screenName = winScreenName;
@@ -355,7 +355,7 @@ TkGetDefaultScreenName(interp, screenName)
TkDisplay *
TkpOpenDisplay(display_name)
- char *display_name;
+ CONST char *display_name;
{
Screen *screen;
HDC dc;