Fix for the move from WriteFile to WriteConsoleA.
This commit is contained in:
parent
de677f3408
commit
ee02771f95
2
ANSI.c
2
ANSI.c
@ -1133,7 +1133,7 @@ WINAPI MyWriteConsoleA( HANDLE hCon, LPCVOID lpBuffer,
|
||||
DWORD len;
|
||||
len = GetModuleFileName( NULL, name, lenof(name) );
|
||||
if (len >= 8 && _wcsicmp( name + len - 8, L"ruby.exe" ) == 0)
|
||||
*lpNumberOfBytesWritten = nNumberOfBytesToWrite;
|
||||
*lpNumberOfCharsWritten = nNumberOfCharsToWrite;
|
||||
}
|
||||
return rc;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user