diff options
| author | Karl Heuer | 1994-03-25 00:41:29 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-03-25 00:41:29 +0000 |
| commit | 0b67772de2b31e04f3cb8822796e4e10384424b9 (patch) | |
| tree | 71b9cb1b2e51107d8d8a7cbca274407b912072c2 /src | |
| parent | 12cae7c04d60bd4eaa0d65afd1271ab4f1f93c4d (diff) | |
| download | emacs-0b67772de2b31e04f3cb8822796e4e10384424b9.tar.gz emacs-0b67772de2b31e04f3cb8822796e4e10384424b9.zip | |
(x_consider_frame_title, decode_mode_spec): Use assignment, not initialization.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 8108387ea51..6f724c2c789 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -405,8 +405,9 @@ x_consider_frame_title (frame) | |||
| 405 | 405 | ||
| 406 | if (FRAME_X_P (f) && ! FRAME_MINIBUF_ONLY_P (f)) | 406 | if (FRAME_X_P (f) && ! FRAME_MINIBUF_ONLY_P (f)) |
| 407 | { | 407 | { |
| 408 | Lisp_Object title = Qnil; | 408 | Lisp_Object title; |
| 409 | 409 | ||
| 410 | title = Qnil; | ||
| 410 | if (! EQ (Fnext_frame (frame, Qnil), frame)) | 411 | if (! EQ (Fnext_frame (frame, Qnil), frame)) |
| 411 | title = XBUFFER (XWINDOW (f->selected_window)->buffer)->name; | 412 | title = XBUFFER (XWINDOW (f->selected_window)->buffer)->name; |
| 412 | 413 | ||
| @@ -2704,10 +2705,11 @@ decode_mode_spec (w, c, maxwidth) | |||
| 2704 | register char c; | 2705 | register char c; |
| 2705 | register int maxwidth; | 2706 | register int maxwidth; |
| 2706 | { | 2707 | { |
| 2707 | Lisp_Object obj = Qnil; | 2708 | Lisp_Object obj; |
| 2708 | FRAME_PTR f = XFRAME (WINDOW_FRAME (w)); | 2709 | FRAME_PTR f = XFRAME (WINDOW_FRAME (w)); |
| 2709 | char *decode_mode_spec_buf = (char *) FRAME_TEMP_GLYPHS (f)->total_contents; | 2710 | char *decode_mode_spec_buf = (char *) FRAME_TEMP_GLYPHS (f)->total_contents; |
| 2710 | 2711 | ||
| 2712 | obj = Qnil; | ||
| 2711 | if (maxwidth > FRAME_WIDTH (f)) | 2713 | if (maxwidth > FRAME_WIDTH (f)) |
| 2712 | maxwidth = FRAME_WIDTH (f); | 2714 | maxwidth = FRAME_WIDTH (f); |
| 2713 | 2715 | ||