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)
commit5a0f0b0232f84c9734e074c71e76e0eb49f5dad7 (patch)
tree114952748e04d5313399716b2823ceed5fa01c9c /generic/tkCursor.c
parentcf945e10b02cf0c52a6712296c631c2e2f2f7370 (diff)
downloadtk-5a0f0b0232f84c9734e074c71e76e0eb49f5dad7.zip
tk-5a0f0b0232f84c9734e074c71e76e0eb49f5dad7.tar.gz
tk-5a0f0b0232f84c9734e074c71e76e0eb49f5dad7.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;