[1/2] wineconsole: Calculate the maximum possible console window size (try 2)

Hugh McMaster hugh.mcmaster at masterindexing.com
Wed Dec 4 19:52:41 CST 2013


1. Calculate the maximum possible console window size.
2. Prevent the console window from exceeding the calculated values.

Changes in this version: use the actual screen area, not the position of the right-hand bottom corner.

---
 programs/wineconsole/curses.c          |   18 ++++++++++++++++++
 programs/wineconsole/user.c            |   21 +++++++++++++++++++++
 programs/wineconsole/winecon_private.h |    1 +
 programs/wineconsole/wineconsole.c     |   11 +++++++++--
 4 files changed, 49 insertions(+), 2 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-wineconsole-sb.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20131204/e517105e/attachment.txt>


More information about the wine-patches mailing list