unicode: update unicode_width on !unicode branch too. Closes bug 2593
No binary (build failed)
—
(log yok)
| @@ -1005,8 +1005,11 @@ static char* FAST_FUNC unicode_conv_to_printable2(uni_stat_t *stats, const char | |
| d++; | |
| } | |
| } | |
| - | if (stats) |
| - | stats->byte_count = stats->unicode_count = (d - dst); |
| + | if (stats) { |
| + | stats->byte_count = (d - dst); |
| + | stats->unicode_count = (d - dst); |
| + | stats->unicode_width = (d - dst); |
| + | } |
| return dst; | |
| } | |