aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Rumney2006-03-11 15:02:34 +0000
committerJason Rumney2006-03-11 15:02:34 +0000
commit3bb69bbdbab33bb301d7b60271c0cdb410485206 (patch)
treee599bc7b1522e849244c5380aac0d8362243b513
parentf71d8cffc73c3a44086ce31c40abb378fd2c0350 (diff)
downloademacs-3bb69bbdbab33bb301d7b60271c0cdb410485206.tar.gz
emacs-3bb69bbdbab33bb301d7b60271c0cdb410485206.zip
(WinMain): Set screen buffer to 80x25.
-rw-r--r--nt/runemacs.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/nt/runemacs.c b/nt/runemacs.c
index a998134ec72..c43c7b61366 100644
--- a/nt/runemacs.c
+++ b/nt/runemacs.c
@@ -138,8 +138,12 @@ WinMain (HINSTANCE hSelf, HINSTANCE hPrev, LPSTR cmdline, int nShow)
138 138
139 memset (&start, 0, sizeof (start)); 139 memset (&start, 0, sizeof (start));
140 start.cb = sizeof (start); 140 start.cb = sizeof (start);
141 start.dwFlags = STARTF_USESHOWWINDOW; 141 start.dwFlags = STARTF_USESHOWWINDOW | STARTF_USECOUNTCHARS;
142 start.wShowWindow = SW_HIDE; 142 start.wShowWindow = SW_HIDE;
143 /* Ensure that we don't waste memory if the user has specified a huge
144 default screen buffer for command windows. */
145 start.dwXCountChars = 80;
146 start.dwYCountChars = 25;
143 147
144 sec_attrs.nLength = sizeof (sec_attrs); 148 sec_attrs.nLength = sizeof (sec_attrs);
145 sec_attrs.lpSecurityDescriptor = NULL; 149 sec_attrs.lpSecurityDescriptor = NULL;