From e5012fa8462ce542980f808bea9c3d1d0492ba02 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 2 Jan 2003 17:07:24 +0000 Subject: [PATCH] ... of course, that would be better still if I remembered to update `nvalid'. Ahem. [originally from svn r2428] --- charset/sbcsgen.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charset/sbcsgen.pl b/charset/sbcsgen.pl index 355bf3bc..6a070f40 100644 --- a/charset/sbcsgen.pl +++ b/charset/sbcsgen.pl @@ -102,7 +102,7 @@ sub outcharset($$$) { } $j++; } - printf "\n },\n %d\n", scalar @sorted; + printf "\n },\n %d\n", $j; print "};\n"; print "const charset_spec charset_$name = {\n" . " $name, read_sbcs, write_sbcs, &data_$name\n};\n\n";