summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvArc.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-09-08 13:37:02 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-09-08 13:37:02 (GMT)
commitd9b5f5607f0b922cad022c39f733bea8c5cae18a (patch)
tree243efdf0d7363c6a515970161316f3cacc2cfd7c /generic/tkCanvArc.c
parent5ff045348353858a7fc6ad71dbf6f0a89bcea00d (diff)
downloadtk-d9b5f5607f0b922cad022c39f733bea8c5cae18a.zip
tk-d9b5f5607f0b922cad022c39f733bea8c5cae18a.tar.gz
tk-d9b5f5607f0b922cad022c39f733bea8c5cae18a.tar.bz2
Fix [610a73a179] for canvas -dashoffset option
Diffstat (limited to 'generic/tkCanvArc.c')
-rw-r--r--generic/tkCanvArc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkCanvArc.c b/generic/tkCanvArc.c
index 82bf439..8a873b8 100644
--- a/generic/tkCanvArc.c
+++ b/generic/tkCanvArc.c
@@ -130,7 +130,7 @@ static const Tk_ConfigSpec configSpecs[] = {
NULL, offsetof(ArcItem, outline.dash),
TK_CONFIG_NULL_OK, &dashOption},
{TK_CONFIG_PIXELS, "-dashoffset", NULL, NULL,
- "0", offsetof(ArcItem, outline.offset), TK_CONFIG_DONT_SET_DEFAULT, NULL},
+ "0", offsetof(ArcItem, outline.offsetObj), TK_CONFIG_OBJS, NULL},
{TK_CONFIG_CUSTOM, "-disableddash", NULL, NULL,
NULL, offsetof(ArcItem, outline.disabledDash),
TK_CONFIG_NULL_OK, &dashOption},