Commit cdf1e763 authored by Alexandre Julliard's avatar Alexandre Julliard

avifil32: Build with msvcrt.

parent bc27abc1
......@@ -2,6 +2,8 @@ MODULE = avifil32.dll
IMPORTLIB = avifil32
IMPORTS = uuid msacm32 msvfw32 winmm ole32 user32 advapi32 rpcrt4
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
acmstream.c \
api.c \
......
......@@ -38,7 +38,6 @@
#include "avifile_private.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL(avifile);
......@@ -155,7 +154,7 @@ static BOOL AVIFILE_GetFileHandlerByExtension(LPCWSTR szFile, LPCLSID lpclsid)
{
CHAR szRegKey[25];
CHAR szValue[100];
LPWSTR szExt = strrchrW(szFile, '.');
LPWSTR szExt = wcsrchr(szFile, '.');
LONG len = ARRAY_SIZE(szValue);
if (szExt == NULL)
......
......@@ -46,7 +46,6 @@
#include "avifile_private.h"
#include "extrachunk.h"
#include "wine/unicode.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(avifile);
......@@ -625,7 +624,7 @@ static HRESULT WINAPI IPersistFile_fnGetCurFile(IPersistFile *iface, LPOLESTR *p
if (*ppszFileName == NULL)
return AVIERR_MEMORY;
strcpyW(*ppszFileName, This->szFileName);
lstrcpyW(*ppszFileName, This->szFileName);
}
return AVIERR_OK;
......
......@@ -33,7 +33,6 @@
#include "avifile_private.h"
#include "extrachunk.h"
#include "wine/unicode.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(avifile);
......@@ -575,7 +574,7 @@ static HRESULT WINAPI IPersistFile_fnGetCurFile(IPersistFile *iface, LPOLESTR *p
if (*ppszFileName == NULL)
return AVIERR_MEMORY;
strcpyW(*ppszFileName, This->szFileName);
lstrcpyW(*ppszFileName, This->szFileName);
}
return AVIERR_OK;
......
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