aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32console.c
diff options
context:
space:
mode:
authorEli Zaretskii2013-03-28 20:13:59 +0200
committerEli Zaretskii2013-03-28 20:13:59 +0200
commitd76bf86f438d4f5f9fe493ab76f02ffc78f3ae2e (patch)
tree04fa8bc7bd2058a316a7ee30f8741d25bfd0b060 /src/w32console.c
parent2ef26ceb192c7683754cf0b4aa3087f501254332 (diff)
parente74aeda863cd6896e06e92586f87b45d63d67d15 (diff)
downloademacs-d76bf86f438d4f5f9fe493ab76f02ffc78f3ae2e.tar.gz
emacs-d76bf86f438d4f5f9fe493ab76f02ffc78f3ae2e.zip
Merge from trunk and resolve conflicts.
Diffstat (limited to 'src/w32console.c')
-rw-r--r--src/w32console.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/w32console.c b/src/w32console.c
index f0574689bf1..06b2c7aa24e 100644
--- a/src/w32console.c
+++ b/src/w32console.c
@@ -1,5 +1,5 @@
1/* Terminal hooks for GNU Emacs on the Microsoft Windows API. 1/* Terminal hooks for GNU Emacs on the Microsoft Windows API.
2 Copyright (C) 1992, 1999, 2001-2012 Free Software Foundation, Inc. 2 Copyright (C) 1992, 1999, 2001-2013 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -746,6 +746,9 @@ initialize_w32_display (struct terminal *term)
746 else 746 else
747 w32_console_unicode_input = 0; 747 w32_console_unicode_input = 0;
748 748
749 /* This is needed by w32notify.c:send_notifications. */
750 dwMainThreadId = GetCurrentThreadId ();
751
749 /* Setup w32_display_info structure for this frame. */ 752 /* Setup w32_display_info structure for this frame. */
750 753
751 w32_initialize_display_info (build_string ("Console")); 754 w32_initialize_display_info (build_string ("Console"));