Eric Pouech : kernel32: Control characters should be returned while reading a line from console.
Module: wine Branch: master Commit: 9c577630d11cd19273b93eeb6295c0b2b75fa42b URL: http://source.winehq.org/git/wine.git/?a=commit;h=9c577630d11cd19273b93eeb62... Author: Eric Pouech <eric.pouech(a)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);
participants (1)
-
Alexandre Julliard