cmd/tests: Don't convert lines with DOS endings in convert_input_data.

This commit is contained in:
Frédéric Delanoy 2011-09-28 12:53:49 +02:00 committed by Alexandre Julliard
parent 29b57ca82d
commit f00aafae85
1 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,8 @@ static const char* convert_input_data(const char *data, DWORD size, DWORD *new_s
for (i = 0; i < size; i++) {
switch (data[i]) {
case '\n':
*ptr++ = '\r';
if (data[i-1] != '\r')
*ptr++ = '\r';
*ptr++ = '\n';
break;
case '@':