summaryrefslogtreecommitdiffstats
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 3e133cef38..cd153163f5 100755
--- a/tools/genlang
+++ b/tools/genlang
@@ -369,7 +369,7 @@ while(<LANG>) {
if($_ =~ /^( *\#|[ \t\n\r]*\z)/) {
# comment or empty line - output it if it's part of the header
- if ($header eq 1) {
+ if ($header and $update) {
print($_);
}
next;