use the dmSize we got from caller and fall back to SIZEOF_DEVMODEA_300 in case we...
authorKamil Hornicek <kamil.hornicek@reactos.org>
Sat, 15 Nov 2008 13:54:17 +0000 (13:54 +0000)
committerKamil Hornicek <kamil.hornicek@reactos.org>
Sat, 15 Nov 2008 13:54:17 +0000 (13:54 +0000)
commitee17e42aa7ee6891f89e8b88e023ac329b50b4a8
treede49674b44a53121992b0bc5fa2e27a09473c6e9
parent08d47079cfa889dc2405d55137f5c187bc7fe1c3
use the dmSize we got from caller and fall back to SIZEOF_DEVMODEA_300 in case we got some unexpected value as it's done in Windows

svn path=/trunk/; revision=37373
reactos/dll/win32/user32/misc/display.c