diff options
Diffstat (limited to 'src/common/unicode/generate-unicode_width_table.pl')
-rw-r--r-- | src/common/unicode/generate-unicode_width_table.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/unicode/generate-unicode_width_table.pl b/src/common/unicode/generate-unicode_width_table.pl index 90b57af075..0cf44b029c 100644 --- a/src/common/unicode/generate-unicode_width_table.pl +++ b/src/common/unicode/generate-unicode_width_table.pl @@ -17,7 +17,7 @@ my $count = 0; print "/* generated by src/common/unicode/generate-unicode_width_table.pl, do not edit */\n\n"; -print "static const struct mbinterval combining[] = {\n"; +print "static const struct mbinterval wcwidth[] = {\n"; foreach my $line (<ARGV>) { @@ -40,7 +40,7 @@ foreach my $line (<ARGV>) # not a combining character, print out previous range if any if (defined($range_start)) { - printf "\t{0x%04X, 0x%04X},\n", $range_start, $prev_codepoint; + printf "\t{0x%04X, 0x%04X, 0},\n", $range_start, $prev_codepoint; $range_start = undef; } } |