diff options
Diffstat (limited to 'library/console.tcl')
-rw-r--r-- | library/console.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/console.tcl b/library/console.tcl index 2fddfe3..7f39ec3 100644 --- a/library/console.tcl +++ b/library/console.tcl @@ -4,7 +4,7 @@ # can be used by non-unix systems that do not have built-in support # for shells. # -# RCS: @(#) $Id: console.tcl,v 1.39 2008/12/10 05:02:51 das Exp $ +# RCS: @(#) $Id: console.tcl,v 1.40 2009/01/30 21:02:13 patthoyts Exp $ # # Copyright (c) 1995-1997 Sun Microsystems, Inc. # Copyright (c) 1998-2000 Ajuba Solutions. @@ -123,7 +123,7 @@ proc ::tk::ConsoleInit {} { . configure -menu .menubar # See if we can find a better font than the TkFixedFont - font create TkConsoleFont {*}[font configure TkFixedFont] + catch {font create TkConsoleFont {*}[font configure TkFixedFont]} set families [font families] switch -exact -- [tk windowingsystem] { aqua { set preferred {Monaco 10} } |