aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-09-08 14:19:11 +0000
committerGerd Moellmann2000-09-08 14:19:11 +0000
commitae26e27d7d6b448e3b78f5f92d5869ac9ca8ee0d (patch)
tree09caabf07b4b1f7cbc0347e0ed0663a14ddf2f1c /src
parent423193c55298af7adee7999ecfb9c8ef54572afb (diff)
downloademacs-ae26e27d7d6b448e3b78f5f92d5869ac9ca8ee0d.tar.gz
emacs-ae26e27d7d6b448e3b78f5f92d5869ac9ca8ee0d.zip
(dump_glyph_row): Fix printf format string.
(display_line, move_it_in_display_line_to): Avoid compiler warnings.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 9d444c3ad6d..6a8965b3554 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -4278,7 +4278,7 @@ move_it_in_display_line_to (it, to_charpos, to_x, op)
4278 4278
4279 while (1) 4279 while (1)
4280 { 4280 {
4281 int x, i, ascent, descent; 4281 int x, i, ascent = 0, descent = 0;
4282 4282
4283 /* Stop when ZV or TO_CHARPOS reached. */ 4283 /* Stop when ZV or TO_CHARPOS reached. */
4284 if (!get_next_display_element (it) 4284 if (!get_next_display_element (it)
@@ -10913,8 +10913,8 @@ dump_glyph_row (matrix, vpos, with_glyphs_p)
10913 fprintf (stderr, "Row Start End Used oEI><O\\CTZFes X Y W H V A P\n"); 10913 fprintf (stderr, "Row Start End Used oEI><O\\CTZFes X Y W H V A P\n");
10914 fprintf (stderr, "=======================================================================\n"); 10914 fprintf (stderr, "=======================================================================\n");
10915 10915
10916 fprintf (stderr, "%3d %5d %5d %4d %1.1d%1.1d%1.1d%1.1d%1.1d%1.1d%1 \ 10916 fprintf (stderr, "%3d %5d %5d %4d %1.1d%1.1d%1.1d%1.1d%1.1d%1.1d\
109171d%1.1d%1.1d%1.1d%1.1d%1.1d%1.1d %4d %4d %4d %4d %4d %4d %4d\n", 10917%1.1d%1.1d%1.1d%1.1d%1.1d%1.1d%1.1d %4d %4d %4d %4d %4d %4d %4d\n",
10918 row - matrix->rows, 10918 row - matrix->rows,
10919 MATRIX_ROW_START_CHARPOS (row), 10919 MATRIX_ROW_START_CHARPOS (row),
10920 MATRIX_ROW_END_CHARPOS (row), 10920 MATRIX_ROW_END_CHARPOS (row),
@@ -11579,7 +11579,7 @@ display_line (it)
11579 { 11579 {
11580 int n_glyphs_before, hpos_before, x_before; 11580 int n_glyphs_before, hpos_before, x_before;
11581 int x, i, nglyphs; 11581 int x, i, nglyphs;
11582 int ascent, descent, phys_ascent, phys_descent; 11582 int ascent = 0, descent = 0, phys_ascent = 0, phys_descent = 0;
11583 11583
11584 /* Retrieve the next thing to display. Value is zero if end of 11584 /* Retrieve the next thing to display. Value is zero if end of
11585 buffer reached. */ 11585 buffer reached. */