diff options
author | jenglish <jenglish@flightlab.com> | 2012-07-02 17:38:52 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2012-07-02 17:38:52 (GMT) |
commit | 51c192d71c89343815510f453d25f163850e9341 (patch) | |
tree | 550fb128f4cccd9bdd93cdd422bccc660b4d02ce /win/ttkWinXPTheme.c | |
parent | 9920c3f4f28cd54d47a684513d86144a3786fd33 (diff) | |
download | tk-51c192d71c89343815510f453d25f163850e9341.zip tk-51c192d71c89343815510f453d25f163850e9341.tar.gz tk-51c192d71c89343815510f453d25f163850e9341.tar.bz2 |
ttk::*: Ensure that all tables passed to Tcl_GetIndexFromObj{Struct}
are statically allocated. Caught by Michael Kirkham.
Diffstat (limited to 'win/ttkWinXPTheme.c')
-rw-r--r-- | win/ttkWinXPTheme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/ttkWinXPTheme.c b/win/ttkWinXPTheme.c index e2f916f..fda7b04 100644 --- a/win/ttkWinXPTheme.c +++ b/win/ttkWinXPTheme.c @@ -1109,7 +1109,7 @@ Ttk_CreateVsapiElement( LPWSTR wname; Ttk_ElementSpec *elementSpec = &GenericElementSpec; - const char *optionStrings[] = + static const char *optionStrings[] = { "-padding","-width","-height","-margins", "-syssize", "-halfheight", "-halfwidth", NULL }; enum { O_PADDING, O_WIDTH, O_HEIGHT, O_MARGINS, O_SYSSIZE, |