From 270e303c90a411431c2d8a7ed7b904728f0ff653 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Wed, 4 Sep 2002 14:12:12 +0000 Subject: - don't pass $SYSFONTACM to unicode_start if it has no value --- lang.csh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lang.csh b/lang.csh index f2ced68b..277be79c 100755 --- a/lang.csh +++ b/lang.csh @@ -65,11 +65,15 @@ if ($sourced == 1) then switch ($LANG) case *.utf8*: case *.UTF-8*: - if ( $?TERM ) then + if ( $?TERM ) then if ( "$TERM" == "linux" ) then - if ( `/sbin/consoletype` == "vt" ) then - unicode_start $SYSFONT $SYSFONTACM - endif + if ( `/sbin/consoletype` == "vt" ) then + if ( $?SYSFONTACM ) then + unicode_start $SYSFONT $SYSFONTACM + else + unicode_start $SYSFONT + endif + endif endif endif breaksw -- cgit v1.2.1