From 0bd7770f52c0a6f170e758241a9b0c376f2ecc3a Mon Sep 17 00:00:00 2001 From: lecoanet Date: Fri, 30 Apr 2004 12:05:39 +0000 Subject: *** empty log message *** --- generic/Reticle.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'generic') 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, -- cgit v1.1