summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2019-04-30 17:28:13 (GMT)
committerfvogel <fvogelnew1@free.fr>2019-04-30 17:28:13 (GMT)
commit43d7f5fb0f3b37902bb0628d71254bf281fe241d (patch)
treec0362d85b70597f7837679de0369dfacb3d3a568
parent382629885640de3a90996d12cf33428a43e74412 (diff)
downloadtk-43d7f5fb0f3b37902bb0628d71254bf281fe241d.zip
tk-43d7f5fb0f3b37902bb0628d71254bf281fe241d.tar.gz
tk-43d7f5fb0f3b37902bb0628d71254bf281fe241d.tar.bz2
Fix [4f9a99e20b]: crash when specifying wrong -syssize option in ttk::style element create ... vsapi
-rw-r--r--win/ttkWinXPTheme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/ttkWinXPTheme.c b/win/ttkWinXPTheme.c
index b828221..c19ed65 100644
--- a/win/ttkWinXPTheme.c
+++ b/win/ttkWinXPTheme.c
@@ -1062,7 +1062,7 @@ GetSysFlagFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr, int *resultPtr)
"SM_CXBORDER", "SM_CYBORDER", "SM_CXVSCROLL", "SM_CYVSCROLL",
"SM_CXHSCROLL", "SM_CYHSCROLL", "SM_CXMENUCHECK", "SM_CYMENUCHECK",
"SM_CXMENUSIZE", "SM_CYMENUSIZE", "SM_CXSIZE", "SM_CYSIZE", "SM_CXSMSIZE",
- "SM_CYSMSIZE"
+ "SM_CYSMSIZE", NULL
};
int flags[] = {
SM_CXBORDER, SM_CYBORDER, SM_CXVSCROLL, SM_CYVSCROLL,