Author: tkreuzer
Date: Mon Dec 14 23:44:39 2009
New Revision: 44588
URL:
http://svn.reactos.org/svn/reactos?rev=44588&view=rev
Log:
copy from trunk
Modified:
branches/ros-amd64-bringup/reactos/dll/directx/dsound_new/enum.c
Modified: branches/ros-amd64-bringup/reactos/dll/directx/dsound_new/enum.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/dll/d…
==============================================================================
--- branches/ros-amd64-bringup/reactos/dll/directx/dsound_new/enum.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/dll/directx/dsound_new/enum.c [iso-8859-1] Mon Dec
14 23:44:39 2009
@@ -93,7 +93,7 @@
DriverNameA[0] = 0;
if (ProductName)
{
- WideCharToMultiByte(CP_ACP, 0, ProductName, -1, DriverNameA, sizeof(DriverNameA)
/ sizeof(char), NULL, NULL);
+ WideCharToMultiByte(CP_ACP, 0, ProductName, -1, DriverNameA,
sizeof(DriverNameA) / sizeof(char), NULL, NULL);
DriverNameA[(sizeof(DriverNameA) / sizeof(char))-1] = 0;
}