[PATCH 1/5] [Kernel32]: actually, control characters shall be returned while reading a line from console

Eric Pouech eric.pouech at orange.fr
Sun Nov 28 15:10:36 CST 2010




A+
---

 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-patches mailing list