pike.git / src / stralloc.c

version» Context lines:

pike.git/src/stralloc.c:2681:    len = 0;    do {    len++;    tmp /= base;    } while (tmp);       /* Precision is minimum number of digits. */    if (len < precision) len = precision;       /* Perform padding. */ -  if ((len < min_width) && !(flags & APPEND_LEFT)) { +  if (!(flags & APPEND_LEFT)) { +  if (len < min_width) {    string_builder_fill(s, min_width - len, MKPCHARP(" ", 0),    4, 0); -  +  }    min_width = 0;    }       tmp = val;    switch(s->s->size_shift) {    case 0:    {    p_wchar0 *p = string_builder_allocate(s, len, 0);    do {    p[--len] = numbers[tmp%base];