Commit 8f44baf5 authored by Alexandre Julliard's avatar Alexandre Julliard

Do not output text in OutputDebugStrAW when not being debugged

parent edd3d4af
...@@ -245,7 +245,6 @@ void WINAPI OutputDebugStringA( LPCSTR str ) ...@@ -245,7 +245,6 @@ void WINAPI OutputDebugStringA( LPCSTR str )
event.length = strlen(str) + 1; event.length = strlen(str) + 1;
DEBUG_SendEvent( OUTPUT_DEBUG_STRING_EVENT, &event, sizeof(event) ); DEBUG_SendEvent( OUTPUT_DEBUG_STRING_EVENT, &event, sizeof(event) );
} }
else DPRINTF("OutputDebugStringA: %s\n", debugstr_a(str) );
} }
...@@ -262,7 +261,6 @@ void WINAPI OutputDebugStringW( LPCWSTR str ) ...@@ -262,7 +261,6 @@ void WINAPI OutputDebugStringW( LPCWSTR str )
event.length = (lstrlenW(str) + 1) * sizeof(WCHAR); event.length = (lstrlenW(str) + 1) * sizeof(WCHAR);
DEBUG_SendEvent( OUTPUT_DEBUG_STRING_EVENT, &event, sizeof(event) ); DEBUG_SendEvent( OUTPUT_DEBUG_STRING_EVENT, &event, sizeof(event) );
} }
else DPRINTF("OutputDebugStringW: %s\n", debugstr_w(str) );
} }
......
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