comparison src/redisplay-x.c @ 2232:2c653fbe06e0

[xemacs-hg @ 2004-08-25 19:52:48 by james] Remove unused variable 'device'.
author james
date Wed, 25 Aug 2004 19:52:48 +0000
parents b531bf8658e9
children 04bc9d2f42c7
comparison
equal deleted inserted replaced
2231:d502f9328e64 2232:2c653fbe06e0
771 int cursor_start, int cursor_width, int cursor_height) 771 int cursor_start, int cursor_width, int cursor_height)
772 { 772 {
773 /* General variables */ 773 /* General variables */
774 struct frame *f = XFRAME (w->frame); 774 struct frame *f = XFRAME (w->frame);
775 struct device *d = XDEVICE (f->device); 775 struct device *d = XDEVICE (f->device);
776 Lisp_Object device;
777 Lisp_Object window; 776 Lisp_Object window;
778 Display *dpy = DEVICE_X_DISPLAY (d); 777 Display *dpy = DEVICE_X_DISPLAY (d);
779 Window x_win = XtWindow (FRAME_X_TEXT_WIDGET (f)); 778 Window x_win = XtWindow (FRAME_X_TEXT_WIDGET (f));
780 779
781 int clip_end; 780 int clip_end;
796 struct textual_run *runs = alloca_array (struct textual_run, len); 795 struct textual_run *runs = alloca_array (struct textual_run, len);
797 int nruns; 796 int nruns;
798 int i; 797 int i;
799 struct face_cachel *cachel = WINDOW_FACE_CACHEL (w, findex); 798 struct face_cachel *cachel = WINDOW_FACE_CACHEL (w, findex);
800 799
801 device = wrap_device (d);
802 window = wrap_window (w); 800 window = wrap_window (w);
803 801
804 if (width < 0) 802 if (width < 0)
805 width = x_text_width (f, cachel, Dynarr_atp (buf, 0), Dynarr_length (buf)); 803 width = x_text_width (f, cachel, Dynarr_atp (buf, 0), Dynarr_length (buf));
806 height = DISPLAY_LINE_HEIGHT (dl); 804 height = DISPLAY_LINE_HEIGHT (dl);