Eric Pouech : kernel32: Control characters should be returned while reading a line from console.

Alexandre Julliard julliard at winehq.org
Mon Nov 29 13:38:37 CST 2010


Module: wine
Branch: master
Commit: 9c577630d11cd19273b93eeb6295c0b2b75fa42b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9c577630d11cd19273b93eeb6295c0b2b75fa42b

Author: Eric Pouech <eric.pouech at orange.fr>
Date:   Sun Nov 28 22:10:36 2010 +0100

kernel32: Control characters should be returned while reading a line from console.

---

 dlls/kernel32/editline.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/dlls/kernel32/editline.c b/dlls/kernel32/editline.c
index b79c5cb..4d02d77 100644
--- a/dlls/kernel32/editline.c
+++ b/dlls/kernel32/editline.c
@@ -247,9 +247,6 @@ static void WCEL_InsertChar(WCEL_Context* ctx, WCHAR c)
 {
     WCHAR	buffer[2];
 
-    /* do not insert 0..31 control characters */
-    if (c < ' ' && c != '\t') return;
-
     buffer[0] = c;
     buffer[1] = 0;
     WCEL_InsertString(ctx, buffer);




More information about the wine-cvs mailing list