Fixed the definition of RtlUnicodeStringToCountedOemSize. This will fix
bug 756.
Modified: trunk/reactos/include/ndk/rtlfuncs.h
_____
Modified: trunk/reactos/include/ndk/rtlfuncs.h
--- trunk/reactos/include/ndk/rtlfuncs.h 2005-09-07 16:34:46 UTC
(rev 17723)
+++ trunk/reactos/include/ndk/rtlfuncs.h 2005-09-07 17:20:28 UTC
(rev 17724)
@@ -839,7 +839,7 @@
((STRING)->Length + sizeof(UNICODE_NULL)) / sizeof(WCHAR) \
)
#define RtlUnicodeStringToCountedOemSize(STRING) ( \
- (ULONG)(RtlUnicodeStringToOemSize(STRING) - sizeof(UNICODE_NULL)) \
+ (ULONG)(RtlUnicodeStringToOemSize(STRING) - sizeof(ANSI_NULL)) \
)
#endif
Show replies by date