Mercurial > hg > xemacs-beta
comparison src/gutter.c @ 2234:e809f7e2883c
[xemacs-hg @ 2004-08-26 17:33:08 by james]
Remove unused local variable 'frame'.
author | james |
---|---|
date | Thu, 26 Aug 2004 17:33:13 +0000 |
parents | b531bf8658e9 |
children | 04bc9d2f42c7 |
comparison
equal
deleted
inserted
replaced
2233:085bdd815327 | 2234:e809f7e2883c |
---|---|
378 } | 378 } |
379 | 379 |
380 static void | 380 static void |
381 output_gutter (struct frame *f, enum gutter_pos pos, int force) | 381 output_gutter (struct frame *f, enum gutter_pos pos, int force) |
382 { | 382 { |
383 Lisp_Object frame; | |
384 Lisp_Object window = FRAME_LAST_NONMINIBUF_WINDOW (f); | 383 Lisp_Object window = FRAME_LAST_NONMINIBUF_WINDOW (f); |
385 struct device *d = XDEVICE (f->device); | 384 struct device *d = XDEVICE (f->device); |
386 struct window* w = XWINDOW (window); | 385 struct window* w = XWINDOW (window); |
387 int x, y, width, height, ypos; | 386 int x, y, width, height, ypos; |
388 int line, border_width; | 387 int line, border_width; |
403 f->desired_display_lines[pos] = Dynarr_new (display_line); | 402 f->desired_display_lines[pos] = Dynarr_new (display_line); |
404 | 403 |
405 ddla = f->desired_display_lines[pos]; | 404 ddla = f->desired_display_lines[pos]; |
406 cdla = f->current_display_lines[pos]; | 405 cdla = f->current_display_lines[pos]; |
407 cdla_len = Dynarr_length (cdla); | 406 cdla_len = Dynarr_length (cdla); |
408 | |
409 frame = wrap_frame (f); | |
410 | 407 |
411 get_gutter_coords (f, pos, &x, &y, &width, &height); | 408 get_gutter_coords (f, pos, &x, &y, &width, &height); |
412 /* generate some display lines */ | 409 /* generate some display lines */ |
413 generate_displayable_area (w, WINDOW_GUTTER (w, pos), | 410 generate_displayable_area (w, WINDOW_GUTTER (w, pos), |
414 x + border_width, y + border_width, | 411 x + border_width, y + border_width, |