[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lib-src/emacsclient.c, v [EMACS_22_BASE]
From: |
Jason Rumney |
Subject: |
[Emacs-diffs] Changes to emacs/lib-src/emacsclient.c, v [EMACS_22_BASE] |
Date: |
Thu, 27 Sep 2007 22:08:35 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Branch: EMACS_22_BASE
Changes by: Jason Rumney <jasonr> 07/09/27 22:08:35
Index: emacsclient.c
===================================================================
RCS file: /sources/emacs/emacs/lib-src/emacsclient.c,v
retrieving revision 1.104.2.1
retrieving revision 1.104.2.2
diff -u -b -r1.104.2.1 -r1.104.2.2
--- emacsclient.c 25 Jul 2007 05:06:11 -0000 1.104.2.1
+++ emacsclient.c 27 Sep 2007 22:08:35 -0000 1.104.2.2
@@ -35,6 +35,7 @@
# include <malloc.h>
# include <stdlib.h>
# include <windows.h>
+# include <commctrl.h>
# define NO_SOCKETS_IN_FILE_SYSTEM
@@ -159,9 +160,13 @@
char szTitle[MAX_PATH];
if (window_app < 0)
+ {
/* Checking for STDOUT does not work; it's a valid handle also in
nonconsole apps. Testing for the console title seems to work. */
window_app = (GetConsoleTitleA (szTitle, MAX_PATH) == 0);
+ if (window_app)
+ InitCommonControls();
+ }
return window_app;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lib-src/emacsclient.c, v [EMACS_22_BASE],
Jason Rumney <=