2001-12-07 Andreas Schwab <schwab@suse.de>
+ * xdisp.c (display_mode_element): Don't read past end of string if
+ it ends with '%'.
+
* alloc.c (inhibit_garbage_collection): Don't exceed value an int
can hold.
FIELD_WIDTH is the number of characters the display of ELT should
occupy in the mode line, and PRECISION is the maximum number of
characters to display from ELT's representation. See
- display_string for details. *
+ display_string for details.
Returns the hpos of the end of the text generated by ELT. */
}
}
}
+ else /* c == 0 */
+ break;
}
}
}