core/src/fshell.cpp
changeset 66 2a78c4ff2eab
parent 54 ea6622dea85a
child 78 b3ffff030d5c
--- a/core/src/fshell.cpp	Mon Sep 20 16:46:34 2010 +0100
+++ b/core/src/fshell.cpp	Wed Oct 13 12:41:05 2010 +0100
@@ -572,9 +572,9 @@
 	aArguments.AppendStringL(iScriptArgs, KArgArgs);
 	}
 	
-void CShell::StdinChange(TUint)
+void CShell::StdinChange(TUint aChange)
 	{
-	if (iLineEditor && !iIgnoreNextStdinChange)
+	if (iLineEditor && !iIgnoreNextStdinChange && (aChange & RIoReadHandle::EGainedForeground)) // We don't care if the console has just resized
 		{
 		iLineEditor->Redraw();
 		}