summaryrefslogtreecommitdiffstats
path: root/tksao
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2019-08-08 20:18:20 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2019-08-08 20:18:20 (GMT)
commit0a0065f5ab3911d94e144b38c275f1387d62057d (patch)
treec3c1306f4cd392be0865afe663031cb7beb14d92 /tksao
parent84b475d6f6ef32461040a450821f62823b6e0300 (diff)
downloadblt-0a0065f5ab3911d94e144b38c275f1387d62057d.zip
blt-0a0065f5ab3911d94e144b38c275f1387d62057d.tar.gz
blt-0a0065f5ab3911d94e144b38c275f1387d62057d.tar.bz2
simplify code
Diffstat (limited to 'tksao')
-rw-r--r--tksao/frame/composite.C11
1 files changed, 6 insertions, 5 deletions
diff --git a/tksao/frame/composite.C b/tksao/frame/composite.C
index e7ca75e..2952d86 100644
--- a/tksao/frame/composite.C
+++ b/tksao/frame/composite.C
@@ -41,12 +41,13 @@ void Composite::x11(Drawable drawable, Coord::InternalSystem sys,
Marker* mk=members.head();
while (mk) {
- Marker* m = mk->dup();
- m->setComposite(fwdMatrix(), angle);
+ Marker* mm = mk->dup();
+ mm->setRenderMode(renderMode);
+ mm->setComposite(fwdMatrix(), angle);
if (global)
- m->setComposite(colorName, lineWidth, highlited);
- m->x11(drawable, sys, tt, hh);
- delete m;
+ mm->setComposite(colorName, lineWidth, highlited);
+ mm->x11(drawable, sys, tt, hh);
+ delete mm;
mk=mk->next();
}
}