[2/3] kernel32: Set GetLargestConsoleWindowSize based on screen resolution

Hugh McMaster hugh.mcmaster at masterindexing.com
Wed Mar 27 06:46:18 CDT 2013


This patch modifies the dlls/kernel32 console.c to get the largest possible console window size.  It uses the current screen resolution to determine the appropriate values for the console screen buffer.  This patch relies on patches 1 and 3 of this thread.

Tested on Linux Mint 14 and Mac OS X 10.8 Mountain Lion.

---
 dlls/kernel32/console.c |   35 +++++++++++++++++++++++++++--------
 1 file changed, 27 insertions(+), 8 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-Improve-kernel32-console.c.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130327/1647f763/attachment.txt>


More information about the wine-patches mailing list