summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/genlang2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/genlang b/tools/genlang
index 21182b7..7e82443 100755
--- a/tools/genlang
+++ b/tools/genlang
@@ -91,7 +91,7 @@ while(<LANG>) {
}
else {
push @hfile, $set{'id'};
- $value =~ s/\"$/\\0\"/;
+ $value =~ s/^\"(.*)\"\W*$/\"$1\\0\"/;
print CFILE " $value\n";
}