summaryrefslogtreecommitdiffstats
path: root/generic/tkCursor.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2009-01-09 07:03:30 (GMT)
committernijtmans <nijtmans>2009-01-09 07:03:30 (GMT)
commit00947f1c23c6a123731cb947d6fd377aa168ce37 (patch)
tree114952748e04d5313399716b2823ceed5fa01c9c /generic/tkCursor.c
parentf18e435c512e2c70f86f248974f6c974a978d2c0 (diff)
downloadtk-00947f1c23c6a123731cb947d6fd377aa168ce37.zip
tk-00947f1c23c6a123731cb947d6fd377aa168ce37.tar.gz
tk-00947f1c23c6a123731cb947d6fd377aa168ce37.tar.bz2
CONSTify TkDebugBorder, TkStringToKeysym, TkDebugBitmap
TkDebugColor, TkDebugCursor, TkDebugFont All those mods TIP #27 complient, no incompatibility risks.
Diffstat (limited to 'generic/tkCursor.c')
-rw-r--r--generic/tkCursor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkCursor.c b/generic/tkCursor.c
index 047834d..f5a4ca4 100644
--- a/generic/tkCursor.c
+++ b/generic/tkCursor.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkCursor.c,v 1.21 2008/11/08 18:44:39 dkf Exp $
+ * RCS: @(#) $Id: tkCursor.c,v 1.22 2009/01/09 07:03:31 nijtmans Exp $
*/
#include "tkInt.h"
@@ -833,7 +833,7 @@ Tcl_Obj *
TkDebugCursor(
Tk_Window tkwin, /* The window in which the cursor will be used
* (not currently used). */
- char *name) /* Name of the desired color. */
+ const char *name) /* Name of the desired color. */
{
TkCursor *cursorPtr;
Tcl_HashEntry *hashPtr;