aboutsummaryrefslogtreecommitdiff
path: root/generic/Reticle.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/Reticle.c')
-rw-r--r--generic/Reticle.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/Reticle.c b/generic/Reticle.c
index 0e42097..a8adb90 100644
--- a/generic/Reticle.c
+++ b/generic/Reticle.c
@@ -237,7 +237,7 @@ Query(ZnItem item,
int argc __unused,
Tcl_Obj *CONST argv[])
{
- if (ZnQueryAttribute(item->wi, item, reticle_attrs, argv[0]) == TCL_ERROR) {
+ if (ZnQueryAttribute(item->wi->interp, item, reticle_attrs, argv[0]) == TCL_ERROR) {
return TCL_ERROR;
}
@@ -594,11 +594,11 @@ PostScript(ZnItem item __unused,
**********************************************************************************
*/
static ZnItemClassStruct RETICLE_ITEM_CLASS = {
- sizeof(ReticleItemStruct),
- 0, /* num_parts */
- False, /* has_anchors */
"reticle",
+ sizeof(ReticleItemStruct),
reticle_attrs,
+ 0, /* num_parts */
+ ZN_CLASS_ONE_COORD, /* flags */
Tk_Offset(ReticleItemStruct, pos),
Init,
Clone,