]> code.delx.au - gnu-emacs/blobdiff - src/doprnt.c
lisp/gnus/gnus-sum.el (gnus-summary-make-menu-bar): Add "Display HTML images" to...
[gnu-emacs] / src / doprnt.c
index 087256ced2a1a595b7960bcd78b43401e5ab82b0..68750f519e60f4eecab40f99926c495e6384e01b 100644 (file)
@@ -1,7 +1,7 @@
 /* Output like sprintf to a buffer of specified size.
    Also takes args differently: pass one pointer to the end
    of the format string in addition to the format string itself.
-   Copyright (C) 1985, 2001-2013 Free Software Foundation, Inc.
+   Copyright (C) 1985, 2001-2015 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -361,7 +361,7 @@ doprnt (char *buffer, ptrdiff_t bufsize, const char *format,
 
              /* Copy string into final output, truncating if no room.  */
            doit:
-             eassert (tem >= 0);
+             eassert (0 <= tem);
              /* Coming here means STRING contains ASCII only.  */
              if (STRING_BYTES_BOUND < tem)
                error ("Format width or precision too large");