Mercurial > hg > xemacs-beta
comparison src/doprnt.c @ 5922:4b055de36bb9 cygwin
merging heads 2
author | Henry Thompson <ht@markup.co.uk> |
---|---|
date | Fri, 27 Feb 2015 17:47:15 +0000 |
parents | b3824b7f5627 |
children |
comparison
equal
deleted
inserted
replaced
5921:68639fb08af8 | 5922:4b055de36bb9 |
---|---|
120 int to_add = minlen - cclen; | 120 int to_add = minlen - cclen; |
121 | 121 |
122 /* Padding at beginning to right-justify ... */ | 122 /* Padding at beginning to right-justify ... */ |
123 if (!minus_flag) | 123 if (!minus_flag) |
124 while (to_add-- > 0) | 124 while (to_add-- > 0) |
125 Lstream_putc (lstr, zero_flag ? '0' : ' '); | 125 (void) Lstream_putc (lstr, zero_flag ? '0' : ' '); |
126 | 126 |
127 if (0 <= maxlen && maxlen < cclen) | 127 if (0 <= maxlen && maxlen < cclen) |
128 len = charcount_to_bytecount (string, maxlen); | 128 len = charcount_to_bytecount (string, maxlen); |
129 Lstream_write (lstr, string, len); | 129 Lstream_write (lstr, string, len); |
130 | 130 |
131 /* Padding at end to left-justify ... */ | 131 /* Padding at end to left-justify ... */ |
132 if (minus_flag) | 132 if (minus_flag) |
133 while (to_add-- > 0) | 133 while (to_add-- > 0) |
134 Lstream_putc (lstr, zero_flag ? '0' : ' '); | 134 (void) Lstream_putc (lstr, zero_flag ? '0' : ' '); |
135 } | 135 } |
136 | 136 |
137 static const Ibyte * | 137 static const Ibyte * |
138 parse_off_posnum (const Ibyte *start, const Ibyte *end, int *returned_num) | 138 parse_off_posnum (const Ibyte *start, const Ibyte *end, int *returned_num) |
139 { | 139 { |