diff src/term.c @ 108420:c82e39ab7a78

Merge from mainline.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Fri, 19 Feb 2010 15:29:56 +0000
parents f32d789c9aab
children 5a46c741f65e a5eeeb631d8a c896870df404
line wrap: on
line diff
--- a/src/term.c	Wed Feb 17 13:43:12 2010 +0000
+++ b/src/term.c	Fri Feb 19 15:29:56 2010 +0000
@@ -1568,8 +1568,9 @@
    and where in the glyph matrix we currently are (glyph row and hpos).
    produce_glyphs fills in output fields of *IT with information such as the
    pixel width and height of a character, and maybe output actual glyphs at
-   the same time if IT->glyph_row is non-null.  See the explanation of
-   struct display_iterator in dispextern.h for an overview.
+   the same time if IT->glyph_row is non-null.  For an overview, see
+   the explanation in dispextern.h, before the definition of the
+   display_element_type enumeration.
 
    produce_glyphs also stores the result of glyph width, ascent
    etc. computations in *IT.
@@ -3938,6 +3939,8 @@
   va_start (ap, str);
   fprintf (stderr, "emacs: ");
   vfprintf (stderr, str, ap);
+  if (!(strlen (str) > 0 && str[strlen (str) - 1] == '\n'))
+    fprintf (stderr, "\n");
   va_end (ap);
   fflush (stderr);
   exit (1);