Update comments.

svn path=/trunk/; revision=49069
This commit is contained in:
Guy Harris 2013-04-27 02:57:16 +00:00
parent 5deac1e6e1
commit a36a0a7a84
1 changed files with 3 additions and 4 deletions

View File

@ -180,13 +180,12 @@ create_console(void)
do a FreeConsole() first. */
FreeConsole();
if (AllocConsole()) {
/* That succeeded. */
/* That succeeded.
XXX - on Windows XP, it "succeeds" but doesn't actually
pop up a console window! */
console_wait = TRUE;
SetConsoleTitle(_T("Wireshark Debug Console"));
} else {
/* XXX - this appears to happen when Wireshark is run from the GUI
rather than from a command-line prompt of some sort. The
error is ERROR_ACCESS_DENIED. */
return; /* couldn't create console */
}
}