summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjenglish <jenglish@noemail.net>2012-07-02 17:38:52 (GMT)
committerjenglish <jenglish@noemail.net>2012-07-02 17:38:52 (GMT)
commitb6030764df81dbf300c96bef09f0812b1904bf33 (patch)
tree550fb128f4cccd9bdd93cdd422bccc660b4d02ce /win
parent4b0b3da643470f21f7be4065c2082fb2940ca18e (diff)
downloadtk-b6030764df81dbf300c96bef09f0812b1904bf33.zip
tk-b6030764df81dbf300c96bef09f0812b1904bf33.tar.gz
tk-b6030764df81dbf300c96bef09f0812b1904bf33.tar.bz2
ttk::*: Ensure that all tables passed to Tcl_GetIndexFromObj{Struct}
are statically allocated. Caught by Michael Kirkham. FossilOrigin-Name: 21ebe479f16961e26a82fe1afe1be025f6320a56
Diffstat (limited to 'win')
-rw-r--r--win/ttkWinXPTheme.c2
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,