diff options
Diffstat (limited to 'lib/termcap.pl')
-rw-r--r-- | lib/termcap.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/termcap.pl b/lib/termcap.pl index c36575aa45..37313432fd 100644 --- a/lib/termcap.pl +++ b/lib/termcap.pl @@ -14,7 +14,7 @@ sub Tgetent { local($TERMCAP,$_,$entry,$loop,$field); warn "Tgetent: no ospeed set" unless $ospeed; - foreach $key (keys(TC)) { + foreach $key (keys %TC) { delete $TC{$key}; } $TERM = $ENV{'TERM'} unless $TERM; |