diff options
author | jenglish <jenglish@flightlab.com> | 2012-07-02 17:45:04 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2012-07-02 17:45:04 (GMT) |
commit | 178102452144aacf3fcfef787f8db7dc588d9000 (patch) | |
tree | c0f6f46f3d226c5465e331c235f6122d73b6ac8f /generic/ttk/ttkImage.c | |
parent | 8f6408487495e6e63669e391e3b44ce2e6645c81 (diff) | |
parent | 6ade6907c8825551da330908c6dec95a6de68cfc (diff) | |
download | tk-178102452144aacf3fcfef787f8db7dc588d9000.zip tk-178102452144aacf3fcfef787f8db7dc588d9000.tar.gz tk-178102452144aacf3fcfef787f8db7dc588d9000.tar.bz2 |
ttk::*: Ensure that all tables passed to Tcl_GetIndexFromObj{Struct}
are statically allocated. Caught by Michael Kirkham.
Diffstat (limited to 'generic/ttk/ttkImage.c')
-rw-r--r-- | generic/ttk/ttkImage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/ttk/ttkImage.c b/generic/ttk/ttkImage.c index bf313a9..0de5fc0 100644 --- a/generic/ttk/ttkImage.c +++ b/generic/ttk/ttkImage.c @@ -314,7 +314,7 @@ Ttk_CreateImageElement( const char *elementName, int objc, Tcl_Obj *const objv[]) { - const char *optionStrings[] = + static const char *optionStrings[] = { "-border","-height","-padding","-sticky","-width",NULL }; enum { O_BORDER, O_HEIGHT, O_PADDING, O_STICKY, O_WIDTH }; |