[gs-code-review] Fix for Bug 688930 mswinpr2 allocates wrong memory size for DEVMODE

Russell Lang gsview at ghostgum.com.au
Fri Dec 8 20:26:27 PST 2006


This has been committed:

Log message:
Fix bug 688930 mswinpr2 allocates wrong memory size for DEVMODE.
A printer DEVMODE structure is usually bigger than sizeof(DEVMODE)
due to printer private extra data.  Allocate the correct size
DEVMODE to include this private data.
Remove old Windows 3.1 and Win32s code.

Russell Lang                   gsview at ghostgum.com.au
Ghostgum Software Pty Ltd      http://www.ghostgum.com.au/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: winpr2alloc.txt
Type: application/octet-stream
Size: 7383 bytes
Desc: not available
Url : http://ghostscript.com/pipermail/gs-code-review/attachments/20061209/c0abffcf/winpr2alloc.obj


More information about the gs-code-review mailing list