diff --git a/reactos/lib/rosrtl/misc/devmode.c b/reactos/lib/rosrtl/misc/devmode.c index 5845f12c09e..2a882bcc7b9 100644 --- a/reactos/lib/rosrtl/misc/devmode.c +++ b/reactos/lib/rosrtl/misc/devmode.c @@ -14,7 +14,6 @@ RosRtlDevModeA2W ( LPDEVMODEW pW, const LPDEVMODEA pA ) { #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 @@ RosRtlDevModeW2A( LPDEVMODEA pA, const LPDEVMODEW pW ) { #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);