Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'core/org.eclipse.cdt.core.win32/library/raise.c')
-rw-r--r--core/org.eclipse.cdt.core.win32/library/raise.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.core.win32/library/raise.c b/core/org.eclipse.cdt.core.win32/library/raise.c
index b49437fb300..62abd4c2c36 100644
--- a/core/org.eclipse.cdt.core.win32/library/raise.c
+++ b/core/org.eclipse.cdt.core.win32/library/raise.c
@@ -41,10 +41,10 @@ find_child_console (HWND hwnd, LPARAM arg)
thread_id = GetWindowThreadProcessId (hwnd, &process_id);
if (process_id == pid)
{
- char window_class[32];
+ wchar_t window_class[32];
GetClassName (hwnd, window_class, sizeof (window_class));
- if (strcmp (window_class, "ConsoleWindowClass") == 0)
+ if (wcscmp (window_class, L"ConsoleWindowClass") == 0)
{
consoleHWND = hwnd;
return FALSE;

Back to the top