diff options
author | nijtmans <nijtmans> | 2008-11-02 09:54:02 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2008-11-02 09:54:02 (GMT) |
commit | a475a7d14acbd3887a32eccadc86c2fd199d903f (patch) | |
tree | b014c8108a140f535206360d6933a9d1d81e4d60 /generic/ttk/ttkState.c | |
parent | 5539be5efd44624e705da40cc44d6feda4207817 (diff) | |
download | tk-a475a7d14acbd3887a32eccadc86c2fd199d903f.zip tk-a475a7d14acbd3887a32eccadc86c2fd199d903f.tar.gz tk-a475a7d14acbd3887a32eccadc86c2fd199d903f.tar.bz2 |
more internal -Wwrite-strings warning fixes
Diffstat (limited to 'generic/ttk/ttkState.c')
-rw-r--r-- | generic/ttk/ttkState.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/ttk/ttkState.c b/generic/ttk/ttkState.c index 8923fa6..29a526d 100644 --- a/generic/ttk/ttkState.c +++ b/generic/ttk/ttkState.c @@ -1,5 +1,5 @@ /* - * $Id: ttkState.c,v 1.1 2006/10/31 01:42:26 hobbs Exp $ + * $Id: ttkState.c,v 1.2 2008/11/02 09:54:02 nijtmans Exp $ * * Tk widget state utilities. * @@ -16,7 +16,7 @@ * Table of state names. Must be kept in sync with TTK_STATE_* * #defines in ttkTheme.h. */ -static const char *stateNames[] = +static const char *const stateNames[] = { "active", /* Mouse cursor is over widget or element */ "disabled", /* Widget is disabled */ @@ -219,7 +219,7 @@ Tcl_Obj *Ttk_StateMapLookup( /* Ttk_GetStateMapFromObj -- * Returns a Ttk_StateMap from a Tcl_Obj*. - * Since a Ttk_StateMap is just a specially-formatted Tcl_Obj, + * Since a Ttk_StateMap is just a specially-formatted Tcl_Obj, * this basically just checks for errors. */ Ttk_StateMap Ttk_GetStateMapFromObj( |