src/SDL_log.c
changeset 7292 fdf42e4cdcec
parent 7274 d9ef44d91559
child 7307 5d6b7b9432d3
     1.1 --- a/src/SDL_log.c	Wed Jun 05 23:11:20 2013 -0700
     1.2 +++ b/src/SDL_log.c	Thu Jun 06 07:25:41 2013 -0700
     1.3 @@ -309,7 +309,6 @@
     1.4          char *output;
     1.5          size_t length;
     1.6          LPTSTR tstr;
     1.7 -        BOOL pbRemoteDebuggerPresent;        
     1.8          BOOL attachResult;
     1.9          DWORD attachError;
    1.10          unsigned long charsWritten; 
    1.11 @@ -347,11 +346,8 @@
    1.12          SDL_snprintf(output, length, "%s: %s\n", SDL_priority_prefixes[priority], message);
    1.13          tstr = WIN_UTF8ToString(output);
    1.14          
    1.15 -        /* Debugger output, if attached. Check each time since debugger can be attached at runtime. */
    1.16 -        CheckRemoteDebuggerPresent(GetCurrentProcess(), &pbRemoteDebuggerPresent);
    1.17 -        if (pbRemoteDebuggerPresent || IsDebuggerPresent()) {
    1.18 -            OutputDebugString(tstr);
    1.19 -        }
    1.20 +        /* Output to debugger */
    1.21 +        OutputDebugString(tstr);
    1.22         
    1.23          /* Screen output to stderr, if console was attached. */
    1.24          if (consoleAttached == 1) {