Fix a comment (the "it worked but didn't pop up a window" conclusion

came from a bad test).

svn path=/trunk/; revision=49070
This commit is contained in:
Guy Harris 2013-04-27 03:51:40 +00:00
parent a36a0a7a84
commit 2013b5ad31
1 changed files with 3 additions and 3 deletions

View File

@ -180,12 +180,12 @@ create_console(void)
do a FreeConsole() first. */
FreeConsole();
if (AllocConsole()) {
/* That succeeded.
XXX - on Windows XP, it "succeeds" but doesn't actually
pop up a console window! */
/* That succeeded. */
console_wait = TRUE;
SetConsoleTitle(_T("Wireshark Debug Console"));
} else {
/* On Windows XP, this still fails; FreeConsole() apparently
doesn't clear the state, as it does on Windows 7. */
return; /* couldn't create console */
}
}