diff options
| author | Jason Rumney | 2006-03-11 15:02:34 +0000 |
|---|---|---|
| committer | Jason Rumney | 2006-03-11 15:02:34 +0000 |
| commit | 3bb69bbdbab33bb301d7b60271c0cdb410485206 (patch) | |
| tree | e599bc7b1522e849244c5380aac0d8362243b513 /nt | |
| parent | f71d8cffc73c3a44086ce31c40abb378fd2c0350 (diff) | |
| download | emacs-3bb69bbdbab33bb301d7b60271c0cdb410485206.tar.gz emacs-3bb69bbdbab33bb301d7b60271c0cdb410485206.zip | |
(WinMain): Set screen buffer to 80x25.
Diffstat (limited to 'nt')
| -rw-r--r-- | nt/runemacs.c | 6 |
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; |