Commit a4208538 authored by Alexandre Julliard's avatar Alexandre Julliard

dmloader: Build with msvcrt.

parent d96fd000
MODULE = dmloader.dll
IMPORTS = dxguid uuid ole32 advapi32
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
container.c \
debug.c \
......
......@@ -172,7 +172,7 @@ static HRESULT WINAPI IDirectMusicContainerImpl_EnumObject(IDirectMusicContainer
HRESULT result = S_OK;
if (pwszAlias) {
lstrcpynW (pwszAlias, pContainedObject->wszAlias, DMUS_MAX_FILENAME);
if (strlenW (pContainedObject->wszAlias) > DMUS_MAX_FILENAME)
if (lstrlenW (pContainedObject->wszAlias) > DMUS_MAX_FILENAME)
result = DMUS_S_STRING_TRUNCATED;
}
*pDesc = pContainedObject->Desc;
......
......@@ -17,8 +17,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include "wine/port.h"
#include "dmloader_private.h"
......
......@@ -34,7 +34,6 @@
#include "wine/debug.h"
#include "wine/list.h"
#include "wine/unicode.h"
#include "winreg.h"
#include "objbase.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment