Commit in reactos/lib/rosrtl/misc on MAIN
devmode.c-21.5 -> 1.6
- Fix RosRtlDevModeA2W and RosRtlDevModeW2A for older versions of DEVMODE[AW] structures.

reactos/lib/rosrtl/misc
devmode.c 1.5 -> 1.6
diff -u -r1.5 -r1.6
--- devmode.c	19 Dec 2004 19:35:04 -0000	1.5
+++ devmode.c	20 Dec 2004 01:52:01 -0000	1.6
@@ -14,7 +14,6 @@
 {
 #define COPYS(f,len) MultiByteToWideChar ( CP_THREAD_ACP, 0, (LPSTR)pA->f, len, pW->f, len )
 #define COPYN(f) pW->f = pA->f
-  memset ( pW, 0, sizeof(DEVMODEW) );
   COPYS(dmDeviceName, CCHDEVICENAME );
   COPYN(dmSpecVersion);
   COPYN(dmDriverVersion);
@@ -80,7 +79,6 @@
 {
 #define COPYS(f,len) WideCharToMultiByte( CP_THREAD_ACP, 0, pW->f, len, (LPSTR)pA->f, len, NULL, NULL )
 #define COPYN(f) pA->f = pW->f
-  memset ( pA, 0, sizeof(DEVMODEA) );
   COPYS(dmDeviceName, CCHDEVICENAME );
   COPYN(dmSpecVersion);
   COPYN(dmDriverVersion);
CVSspam 0.2.8