aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGaetan Bisson <bisson@archlinux.org>2015-10-03 15:36:55 +0000
committerTatsuya Kinoshita <tats@debian.org>2015-10-03 15:36:55 +0000
commitc5747489481cd3392534726a47fe136d6ed4ee42 (patch)
tree8e8a0fd7261700e0518e6e58106916d76ed81cd0
parentUpdate ChangeLog (diff)
downloadw3m-c5747489481cd3392534726a47fe136d6ed4ee42.tar.gz
w3m-c5747489481cd3392534726a47fe136d6ed4ee42.zip
Do not use defined(%hash) in w3mhelp.cgi
Origin: https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/w3m&id=d9e0a4f0b461c9e2177cd9e64a10581386650503 Bug-Arch: https://bugs.archlinux.org/task/45608
Diffstat (limited to '')
-rw-r--r--scripts/w3mhelp.cgi.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/w3mhelp.cgi.in b/scripts/w3mhelp.cgi.in
index b2fca8f..31c0049 100644
--- a/scripts/w3mhelp.cgi.in
+++ b/scripts/w3mhelp.cgi.in
@@ -48,7 +48,7 @@ if (defined($ENV{'QUERY_STRING'})) {
}
# print "tlang=$tlang\n";
eval {require "w3mhelp-funcdesc.$tlang.pl";};
- if (defined(%funcdesc)) {
+ if (%funcdesc) {
$lang = $tlang;
}
}