emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/nt/runemacs.c


From: Jason Rumney
Subject: [Emacs-diffs] Changes to emacs/nt/runemacs.c
Date: Sat, 11 Mar 2006 15:02:35 +0000

Index: emacs/nt/runemacs.c
diff -u emacs/nt/runemacs.c:1.11 emacs/nt/runemacs.c:1.12
--- emacs/nt/runemacs.c:1.11    Mon Feb  6 12:26:02 2006
+++ emacs/nt/runemacs.c Sat Mar 11 15:02:34 2006
@@ -138,8 +138,12 @@
 
   memset (&start, 0, sizeof (start));
   start.cb = sizeof (start);
-  start.dwFlags = STARTF_USESHOWWINDOW;
+  start.dwFlags = STARTF_USESHOWWINDOW | STARTF_USECOUNTCHARS;
   start.wShowWindow = SW_HIDE;
+  /* Ensure that we don't waste memory if the user has specified a huge
+     default screen buffer for command windows.  */
+  start.dwXCountChars = 80;
+  start.dwYCountChars = 25;
 
   sec_attrs.nLength = sizeof (sec_attrs);
   sec_attrs.lpSecurityDescriptor = NULL;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]