Mercurial > emacs
comparison src/doprnt.c @ 116:6b517878550a
*** empty log message ***
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Mon, 12 Nov 1990 20:20:41 +0000 |
parents | 94e408cdb3ce |
children | 0f50f1badd75 |
comparison
equal
deleted
inserted
replaced
115:c7c930b84dbb | 116:6b517878550a |
---|---|
43 | 43 |
44 if (format_end == 0) | 44 if (format_end == 0) |
45 format_end = format + strlen (format); | 45 format_end = format + strlen (format); |
46 | 46 |
47 bufsize--; | 47 bufsize--; |
48 while (fmt != format_end && bufsize > 0) /* Loop until end of format string or buffer full */ | 48 while (fmt != format_end && bufsize > 0) /* Loop until end of format |
49 string or buffer full */ | |
49 { | 50 { |
50 if (*fmt == '%') /* Check for a '%' character */ | 51 if (*fmt == '%') /* Check for a '%' character */ |
51 { | 52 { |
52 fmt++; | 53 fmt++; |
53 /* Copy this one %-spec into fmtcopy. */ | 54 /* Copy this one %-spec into fmtcopy. */ |