summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjenglish <jenglish@flightlab.com>2012-07-02 17:45:04 (GMT)
committerjenglish <jenglish@flightlab.com>2012-07-02 17:45:04 (GMT)
commit1c4e68215108b32cdbd6ef93ab1681e5a3f71bc9 (patch)
treec0f6f46f3d226c5465e331c235f6122d73b6ac8f /win
parent5d65c669981e6af1b31c24510901a7f5fe31736a (diff)
parent51c192d71c89343815510f453d25f163850e9341 (diff)
downloadtk-1c4e68215108b32cdbd6ef93ab1681e5a3f71bc9.zip
tk-1c4e68215108b32cdbd6ef93ab1681e5a3f71bc9.tar.gz
tk-1c4e68215108b32cdbd6ef93ab1681e5a3f71bc9.tar.bz2
ttk::*: Ensure that all tables passed to Tcl_GetIndexFromObj{Struct}
are statically allocated. Caught by Michael Kirkham.
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 af6103b..08e8a8e 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,