diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-12-14 11:46:52 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-12-14 11:46:52 (GMT) |
commit | 5357570e1f8319ecea3ce3c930913200ebc485dd (patch) | |
tree | 5eb91720f2a780a9857925f899b41a90af702333 /generic/tk3d.c | |
parent | d3accd1f1590ad5fd9a5bac5f611912c8dd9809c (diff) | |
parent | 953c81157e52a85fb0e0322336b34ee6367ea6d4 (diff) | |
download | tk-5357570e1f8319ecea3ce3c930913200ebc485dd.zip tk-5357570e1f8319ecea3ce3c930913200ebc485dd.tar.gz tk-5357570e1f8319ecea3ce3c930913200ebc485dd.tar.bz2 |
Merge 8.6. Make anchorStrings, reliefString and justifyString MODULE_SCOPE
Diffstat (limited to 'generic/tk3d.c')
-rw-r--r-- | generic/tk3d.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tk3d.c b/generic/tk3d.c index 249d62c..e988d3e 100644 --- a/generic/tk3d.c +++ b/generic/tk3d.c @@ -19,7 +19,7 @@ * by Tk_GetReliefFromObj. */ -static const char *const reliefStrings[] = { +const char *const tkReliefStrings[] = { "flat", "groove", "raised", "ridge", "solid", "sunken", NULL }; @@ -623,7 +623,7 @@ Tk_GetReliefFromObj( * from. */ int *resultPtr) /* Where to place the answer. */ { - return Tcl_GetIndexFromObjStruct(interp, objPtr, reliefStrings, + return Tcl_GetIndexFromObjStruct(interp, objPtr, tkReliefStrings, sizeof(char *), "relief", 0, resultPtr); } |