summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/genlang25
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/genlang2 b/tools/genlang2
index e9c21fb65c..7d82f21b31 100755
--- a/tools/genlang2
+++ b/tools/genlang2
@@ -486,6 +486,11 @@ for $i (0x8000 .. ($voiceid-1)) {
486 486
487 $dest =~ s:\"$:\\0\":; # insert a \0 before the second quote 487 $dest =~ s:\"$:\\0\":; # insert a \0 before the second quote
488 488
489 if(!$dest) {
490 # this is just to be on the safe side
491 $dest = '"\0"';
492 }
493
489 printf CFILE (" %s\n", $dest); 494 printf CFILE (" %s\n", $dest);
490 } 495 }
491 496