Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Removed unneeded warning when running from Visual Studio
  • Loading branch information
slouken committed Dec 7, 2016
1 parent acabb5d commit 9149182
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/SDL_log.c
Expand Up @@ -335,7 +335,8 @@ SDL_LogOutput(void *userdata, int category, SDL_LogPriority priority,
if (!attachResult) {
attachError = GetLastError();
if (attachError == ERROR_INVALID_HANDLE) {
OutputDebugString(TEXT("Parent process has no console\r\n"));
/* This is expected when running from Visual Studio */
/*OutputDebugString(TEXT("Parent process has no console\r\n"));*/
consoleAttached = -1;
} else if (attachError == ERROR_GEN_FAILURE) {
OutputDebugString(TEXT("Could not attach to console of parent process\r\n"));
Expand Down

0 comments on commit 9149182

Please sign in to comment.