Commit f00aafae authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

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

parent 29b57ca8
......@@ -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 '@':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment