summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2009-11-05 22:18:29 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2009-11-05 22:18:29 +0000
commit3e73fecf68116b53847cf58307807665af94f86d (patch)
tree9de902cf8beaeba92dbc1e6ab976f883c6b0e109 /tools
parent6a473c89784a1c03e10183f7b582c37833d27823 (diff)
downloadrockbox-3e73fecf68116b53847cf58307807665af94f86d.tar.gz
rockbox-3e73fecf68116b53847cf58307807665af94f86d.tar.bz2
rockbox-3e73fecf68116b53847cf58307807665af94f86d.zip
Fix genlang tool broken by r22945
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23540 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/genlang3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/genlang b/tools/genlang
index 6f00365716..07eb9f1fb9 100755
--- a/tools/genlang
+++ b/tools/genlang
@@ -543,6 +543,7 @@ while(<LANG>) {
print "### $idstr: The phrase is not used. Skipped\n";
}
}
+ undef @phrase;
} # end of </phrase>
elsif($part eq "/options") {
# closing the options
@@ -551,8 +552,6 @@ while(<LANG>) {
}
} # end of </options>
- undef @phrase;
-
# starts with a slash, this _ends_ this section
$m = pop @m; # get back old value, the previous level's tag
next;