version 1.80, 2014/03/30 21:27:59 |
version 1.81, 2014/04/05 21:17:48 |
|
|
size_t width; |
size_t width; |
int iop; |
int iop; |
|
|
|
iop = 0; |
|
width = 0; |
if (NULL != wstr) { |
if (NULL != wstr) { |
switch (*wstr) { |
switch (*wstr) { |
case ('+'): |
case ('+'): |
|
|
wstr++; |
wstr++; |
break; |
break; |
default: |
default: |
iop = 0; |
|
break; |
break; |
} |
} |
if ( ! a2roffsu(wstr, &su, SCALE_MAX)) { |
if (a2roffsu(wstr, &su, SCALE_MAX)) |
wstr = NULL; |
width = term_hspan(p, &su); |
|
else |
iop = 0; |
iop = 0; |
} |
|
} |
} |
width = (NULL != wstr) ? term_hspan(p, &su) : 0; |
|
(*p->setwidth)(p, iop, width); |
(*p->setwidth)(p, iop, width); |
} |
} |
|
|