diff options
| author | Andreas Schwab | 2012-07-07 23:39:45 +0200 |
|---|---|---|
| committer | Andreas Schwab | 2012-07-07 23:39:45 +0200 |
| commit | f17c527307661519a3eda9941123234236dcf4b3 (patch) | |
| tree | 1a7e781bf1b8b4a2e64743900a0a439f877ed018 /src | |
| parent | 298819b917a8ecd5a8f2683f6be22234af0d244d (diff) | |
| download | emacs-f17c527307661519a3eda9941123234236dcf4b3.tar.gz emacs-f17c527307661519a3eda9941123234236dcf4b3.zip | |
* xdisp.c (display_line): Avoid warning about implicit declaration
of FRAME_FONT.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/xdisp.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d481d1f1c10..1f81954f2d9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2012-07-07 Andreas Schwab <schwab@linux-m68k.org> | 1 | 2012-07-07 Andreas Schwab <schwab@linux-m68k.org> |
| 2 | 2 | ||
| 3 | * xdisp.c (display_line): Avoid warning about implicit declaration | ||
| 4 | of FRAME_FONT. | ||
| 5 | |||
| 3 | * frame.c (get_frame_param): Define only if HAVE_WINDOW_SYSTEM. | 6 | * frame.c (get_frame_param): Define only if HAVE_WINDOW_SYSTEM. |
| 4 | 7 | ||
| 5 | * lisp.h: Remove empty conditional. | 8 | * lisp.h: Remove empty conditional. |
diff --git a/src/xdisp.c b/src/xdisp.c index 87f2e365198..2b2765e7f93 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -19770,6 +19770,7 @@ display_line (struct it *it) | |||
| 19770 | produce_special_glyphs (it, IT_TRUNCATION); | 19770 | produce_special_glyphs (it, IT_TRUNCATION); |
| 19771 | } | 19771 | } |
| 19772 | } | 19772 | } |
| 19773 | #ifdef HAVE_WINDOW_SYSTEM | ||
| 19773 | else | 19774 | else |
| 19774 | { | 19775 | { |
| 19775 | int stretch_width = it->last_visible_x - it->current_x; | 19776 | int stretch_width = it->last_visible_x - it->current_x; |
| @@ -19793,6 +19794,7 @@ display_line (struct it *it) | |||
| 19793 | } | 19794 | } |
| 19794 | produce_special_glyphs (it, IT_TRUNCATION); | 19795 | produce_special_glyphs (it, IT_TRUNCATION); |
| 19795 | } | 19796 | } |
| 19797 | #endif | ||
| 19796 | } | 19798 | } |
| 19797 | else if (IT_OVERFLOW_NEWLINE_INTO_FRINGE (it)) | 19799 | else if (IT_OVERFLOW_NEWLINE_INTO_FRINGE (it)) |
| 19798 | { | 19800 | { |