[haiku-commits] r39456 - haiku/trunk/src/apps/terminal

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 16 Nov 2010 21:08:17 +0100 (CET)

Author: bonefish
Date: 2010-11-16 21:08:17 +0100 (Tue, 16 Nov 2010)
New Revision: 39456
Changeset: http://dev.haiku-os.org/changeset/39456

Modified:
   haiku/trunk/src/apps/terminal/TermView.cpp
Log:
Removed impossible TODO: We can't set a environment variable of another
program (after it has been started). What is TTYPE anyway? Google didn't turn
anything up and there are the POSIX locale environment variables anyway.


Modified: haiku/trunk/src/apps/terminal/TermView.cpp
===================================================================
--- haiku/trunk/src/apps/terminal/TermView.cpp  2010-11-16 19:47:46 UTC (rev 
39455)
+++ haiku/trunk/src/apps/terminal/TermView.cpp  2010-11-16 20:08:17 UTC (rev 
39456)
@@ -870,9 +870,6 @@
 void
 TermView::SetEncoding(int encoding)
 {
-       // TODO: Shell::_Spawn() sets the "TTYPE" environment variable using
-       // the string value of encoding. But when this function is called and
-       // the encoding changes, the new value is never passed to Shell.
        fEncoding = encoding;
 
        BAutolock _(fTextBuffer);


Other related posts: