diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-04-27 03:51:40 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-04-27 03:51:40 +0000 |
commit | 2013b5ad31b8704e4699f1c7344ac06f7e21508b (patch) | |
tree | 46252c516d67239819f89f121ac60110af0f9170 /ui/win32 | |
parent | a36a0a7a84a16b9530fb1eed4aa07f1a828921c1 (diff) |
Fix a comment (the "it worked but didn't pop up a window" conclusion
came from a bad test).
svn path=/trunk/; revision=49070
Diffstat (limited to 'ui/win32')
-rw-r--r-- | ui/win32/console_win32.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/win32/console_win32.c b/ui/win32/console_win32.c index b248efa6e2..9b35669e39 100644 --- a/ui/win32/console_win32.c +++ b/ui/win32/console_win32.c @@ -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 */ } } |