aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2014-09-19 11:25:39 +0000
committerDimitri Sokolyuk <demon@dim13.org>2014-09-19 11:25:39 +0000
commitbba33ea0a0764bf9f5903b031cb36604c4314a69 (patch)
tree330cfa76cfa892b4367ed7cf325ce610cd90fece
parenta50a6df4e4fc52b4d2b3bf0a7699749f0dc804fd (diff)
remove dead code
-rw-r--r--Sgraph.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/Sgraph.c b/Sgraph.c
index 8a567f0..b1be364 100644
--- a/Sgraph.c
+++ b/Sgraph.c
@@ -234,24 +234,6 @@ Redisplay(Widget w, XEvent *event, Region r)
if (!XtIsRealized(w))
return;
- //warnx("Redisplay");
-
- /*
- XFillRectangle(XtDisplay(sw), XtWindow(sw), sw->sgraph.backGC,
- BORDER, BORDER,
- width - 2 * BORDER, height - 2 * BORDER);
- XFillRectangle(XtDisplay(sw), XtWindow(sw), sw->sgraph.backGC,
- width + BORDER, BORDER,
- width - 2 * BORDER, height - 2 * BORDER);
- */
-
- //warnx("%lf : %lf" , sw->sgraph.leftData[0], sw->sgraph.rightData[0]);
-
- /*
- XFillRectangle(XtDisplay(sw), sw->sgraph.bg, sw->sgraph.backGC,
- 0, 0, width, height);
- */
-
bottom = sw->core.height;
for (x = 0; x < sw->sgraph.size / 2; x++) {