View | Details | Raw Unified | Return to bug 205796 | Differences between
and this patch

Collapse All | Expand All

(-)xgraph.c (-1 / +12 lines)
Lines 402-408 Link Here
402
    fg_color = PM_COLOR("Foreground");
402
    fg_color = PM_COLOR("Foreground");
403
    bg_color = PM_COLOR("Background");
403
    bg_color = PM_COLOR("Background");
404
    XRecolorCursor(disp, zoomCursor, &fg_color, &bg_color);
404
    XRecolorCursor(disp, zoomCursor, &fg_color, &bg_color);
405
    init_X(win_info->dev_info.user_state);
405
#if 0
406
    /* legitimate correction shall be like this, but ... */
407
    if (XFindContext(disp, primary, win_context, (caddr_t *) &win_info)) {
408
	/* Nothing found */
409
	(void) fprintf(stderr, "Can't get Context\n");
410
    } else {
411
	init_X(win_info->dev_info.user_state);
412
    }
413
#else
414
    /* ... init_X() does not use the parameter (which has only Window ID now) */
415
    init_X(NULL);	/* QUICK HACK */
416
#endif
406
417
407
    Num_Windows = 1;
418
    Num_Windows = 1;
408
    while (Num_Windows > 0) {
419
    while (Num_Windows > 0) {
(-)xtb.h (-1 / +1 lines)
Lines 164-170 Link Here
164
    xtb_fmt_align align;
164
    xtb_fmt_align align;
165
} xtb_fmt;
165
} xtb_fmt;
166
166
167
#define NE	0
167
#define NE	((xtb_fmt *) 0)
168
168
169
DECLARE(xtb_w, xtb_fmt *, (xtb_frame *w));
169
DECLARE(xtb_w, xtb_fmt *, (xtb_frame *w));
170
   /* Returns formatting structure for frame */
170
   /* Returns formatting structure for frame */

Return to bug 205796