summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-10-14 09:11:11 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-10-14 09:11:11 +0000
commit36069b35068da3318cc9a8115a1d9ccda4faddeb (patch)
tree4a6557031aa7a128798d5de3a30dda162aaf659d /tools
parent17cf448f5927a34d4370ba618027947721a0bd36 (diff)
downloadrockbox-36069b35068da3318cc9a8115a1d9ccda4faddeb.tar.gz
rockbox-36069b35068da3318cc9a8115a1d9ccda4faddeb.tar.bz2
rockbox-36069b35068da3318cc9a8115a1d9ccda4faddeb.zip
treat "" 'new' strings as non-existing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2608 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/genlang2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/genlang b/tools/genlang
index 9c7f8949c1..e3dbe5584c 100755
--- a/tools/genlang
+++ b/tools/genlang
@@ -71,7 +71,7 @@ while(<LANG>) {
if($var eq "new") {
# the last one for a single phrase
- if(!$value) {
+ if(!$value || ($value eq \"\") ) {
# if not set, get the english version
$value = $set{'eng'};
}