forked from osmocom/wireshark
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:
parent
a36a0a7a84
commit
2013b5ad31
|
@ -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 */
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue