Piotr Caban : msvfw32: Don't use strncasecmp.
Module: wine Branch: master Commit: 12783557155987d37c1c7828b8c3c20a3c5300ce URL: https://source.winehq.org/git/wine.git/?a=commit;h=12783557155987d37c1c7828b... Author: Piotr Caban <piotr(a)codeweavers.com> Date: Tue Apr 2 16:51:44 2019 +0200 msvfw32: Don't use strncasecmp. Signed-off-by: Piotr Caban <piotr(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/msvfw32/msvideo_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/msvfw32/msvideo_main.c b/dlls/msvfw32/msvideo_main.c index 235410b..fe140b2 100644 --- a/dlls/msvfw32/msvideo_main.c +++ b/dlls/msvfw32/msvideo_main.c @@ -35,6 +35,7 @@ #include "winreg.h" #include "winnls.h" #include "wingdi.h" +#include "winternl.h" #include "winuser.h" #include "commdlg.h" #include "vfw.h" @@ -220,7 +221,7 @@ static int compare_fourcc(DWORD fcc1, DWORD fcc2) char fcc_str2[4]; fourcc_to_string(fcc_str1, fcc1); fourcc_to_string(fcc_str2, fcc2); - return strncasecmp(fcc_str1, fcc_str2, 4); + return _strnicmp(fcc_str1, fcc_str2, 4); } static DWORD get_size_image(LONG width, LONG height, WORD depth)
participants (1)
-
Alexandre Julliard