diff options
author | nijtmans <nijtmans> | 2009-02-03 23:55:47 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2009-02-03 23:55:47 (GMT) |
commit | dfa673f06ce6d9e177c3304330778e68b6cfb37f (patch) | |
tree | aa98658e57c70b6cb91802ffef5779126e54b6b5 /generic/tkTextMark.c | |
parent | f7a12726b3c789e685ad9e99e069dabbc218b794 (diff) | |
download | tk-dfa673f06ce6d9e177c3304330778e68b6cfb37f.zip tk-dfa673f06ce6d9e177c3304330778e68b6cfb37f.tar.gz tk-dfa673f06ce6d9e177c3304330778e68b6cfb37f.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?"); |