Author: fireball
Date: Wed Jan 25 20:20:04 2012
New Revision: 55183
URL:
http://svn.reactos.org/svn/reactos?rev=55183&view=rev
Log:
[VIDEOPRT]
- Create DEVICEMAP\VIDEO key with proper length. Fixes a bug exposed as "Arwinss
unable to change resolution".
See issue #6838 for more details.
Modified:
trunk/reactos/drivers/video/videoprt/videoprt.c
Modified: trunk/reactos/drivers/video/videoprt/videoprt.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/video/videoprt/vid…
==============================================================================
--- trunk/reactos/drivers/video/videoprt/videoprt.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/video/videoprt/videoprt.c [iso-8859-1] Wed Jan 25 20:20:04 2012
@@ -492,7 +492,7 @@
DeviceVideoBuffer,
REG_SZ,
DeviceExtension->RegistryPath.Buffer,
- DeviceExtension->RegistryPath.MaximumLength);
+ DeviceExtension->RegistryPath.Length);
RtlWriteRegistryValue(
RTL_REGISTRY_DEVICEMAP,