[Bug 10919] GetLargestConsoleWindowSize() should not return hard coded constants

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Sep 17 03:47:38 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=10919





--- Comment #5 from Ian Binnie <bugzilla.j.iansemail at spamgourmet.com>  2008-09-17 03:47:37 ---
I thought it would be simple to write a function to replace
GetLargestConsoleWindowSize.

This is similar to the code above, but using
SystemParametersInfo(SPI_GETWORKAREA ...) to get the Work Area on primary
monitor, excluding taskbar
(This works under Windows.)

This works OK the first time it is called, but I noticed the calculated size of
the largest possible console window keeps growing until it crashes.

It seems that Wine does not keep the font constant, but reduces the size.
This can be also seen by attempting to modify the properties of the console.

I was running a test using wineconsole --backent=user


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list