aboutsummaryrefslogtreecommitdiffstats
path: root/enc
diff options
context:
space:
mode:
Diffstat (limited to 'enc')
-rwxr-xr-xenc/make_encdb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/enc/make_encdb.rb b/enc/make_encdb.rb
index 6f71c3dfe6..8b5731f548 100755
--- a/enc/make_encdb.rb
+++ b/enc/make_encdb.rb
@@ -57,7 +57,7 @@ Dir.open(encdir) {|d| d.grep(/.+\.[ch]\z/)}.sort_by {|e|
next
end
check_duplication(defs, $1, fn, $.)
- lines << line.sub(/;.*/m, ";\n") if line
+ lines << line.sub(/;.*/m, "").chomp + ";\n" if line
end
end
end