mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-01 20:06:00 +00:00
(WinMain): Set screen buffer to 80x25.
This commit is contained in:
parent
f71d8cffc7
commit
3bb69bbdba
@ -138,8 +138,12 @@ WinMain (HINSTANCE hSelf, HINSTANCE hPrev, LPSTR cmdline, int nShow)
|
||||
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user