summaryrefslogtreecommitdiffstats
path: root/generic/tkGrab.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2009-02-03 23:55:47 (GMT)
committernijtmans <nijtmans>2009-02-03 23:55:47 (GMT)
commit4b9f05fc68f4d1a561c16fcb44c31af46bedb3d6 (patch)
treeaa98658e57c70b6cb91802ffef5779126e54b6b5 /generic/tkGrab.c
parentc9098b1706ee463447e128156b9baaf23fa4f0a9 (diff)
downloadtk-4b9f05fc68f4d1a561c16fcb44c31af46bedb3d6.zip
tk-4b9f05fc68f4d1a561c16fcb44c31af46bedb3d6.tar.gz
tk-4b9f05fc68f4d1a561c16fcb44c31af46bedb3d6.tar.bz2
- eliminate some unnessary type casts
- some internal const decorations - spacing
Diffstat (limited to 'generic/tkGrab.c')
-rw-r--r--generic/tkGrab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkGrab.c b/generic/tkGrab.c
index 8bf0e89..1f80028 100644
--- a/generic/tkGrab.c
+++ b/generic/tkGrab.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkGrab.c,v 1.17 2008/11/23 21:58:24 patthoyts Exp $
+ * RCS: @(#) $Id: tkGrab.c,v 1.18 2009/02/03 23:55:47 nijtmans Exp $
*/
#include "tkInt.h"
@@ -188,7 +188,7 @@ Tk_GrabObjCmd(
int globalGrab;
Tk_Window tkwin;
TkDisplay *dispPtr;
- char *arg;
+ const char *arg;
int index;
int len;
static const char *const optionStrings[] = {