Author: miguel
Date: 2006-11-07 09:37:40 -0500 (Tue, 07 Nov 2006)
New Revision: 67457
Modified:
trunk/mcs/class/corlib/System/TermInfoDriver.cs
Log:
Fix the crasher on XCode
Modified: trunk/mcs/class/corlib/System/TermInfoDriver.cs
===================================================================
--- trunk/mcs/class/corlib/System/TermInfoDriver.cs 2006-11-07 14:07:22 UTC
(rev 67456)
+++ trunk/mcs/class/corlib/System/TermInfoDriver.cs 2006-11-07 14:37:40 UTC
(rev 67457)
@@ -194,7 +194,7 @@
csrVisible = reader.Get
(TermInfoStrings.CursorVisible);
csrInvisible = reader.Get
(TermInfoStrings.CursorInvisible);
- if (term == "cygwin" || term == "linux" ||
term.StartsWith ("xterm") ||
+ if (term == "cygwin" || term == "linux" || (term !=
null && term.StartsWith ("xterm")) ||
term == "rxvt" || term == "dtterm") {
titleFormat = "\x1b]0;{0}\x7"; // icon + window
title
} else if (term == "iris-ansi") {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches