diff options
author | nijtmans <nijtmans> | 2009-02-03 23:55:47 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2009-02-03 23:55:47 (GMT) |
commit | 4b9f05fc68f4d1a561c16fcb44c31af46bedb3d6 (patch) | |
tree | aa98658e57c70b6cb91802ffef5779126e54b6b5 /generic/tkTextMark.c | |
parent | c9098b1706ee463447e128156b9baaf23fa4f0a9 (diff) | |
download | tk-4b9f05fc68f4d1a561c16fcb44c31af46bedb3d6.zip tk-4b9f05fc68f4d1a561c16fcb44c31af46bedb3d6.tar.gz tk-4b9f05fc68f4d1a561c16fcb44c31af46bedb3d6.tar.bz2 |
- eliminate some unnessary type casts
- some internal const decorations
- spacing
Diffstat (limited to 'generic/tkTextMark.c')
-rw-r--r-- | generic/tkTextMark.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkTextMark.c b/generic/tkTextMark.c index 4e483d8..0a0dd2d 100644 --- a/generic/tkTextMark.c +++ b/generic/tkTextMark.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: tkTextMark.c,v 1.23 2008/12/06 10:48:29 dkf Exp $ + * RCS: @(#) $Id: tkTextMark.c,v 1.24 2009/02/03 23:55:47 nijtmans Exp $ */ #include "tkInt.h" @@ -128,7 +128,7 @@ TkTextMarkCmd( case MARK_GRAVITY: { char c; int length; - char *str; + const char *str; if (objc < 4 || objc > 5) { Tcl_WrongNumArgs(interp, 3, objv, "markName ?gravity?"); |