inetcpl: Build with msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-06-06 09:01:46 +02:00
parent afc721f0f1
commit e01d9db274
2 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,8 @@ MODULE = inetcpl.cpl
IMPORTS = comctl32 shlwapi user32 advapi32
DELAYIMPORTS = cryptui wininet ole32 urlmon shell32
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
connections.c \
content.c \

View File

@ -20,6 +20,7 @@
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winnls.h>
#include <wininet.h>
#include <winuser.h>
#include <winreg.h>
@ -27,7 +28,6 @@
#include "inetcpl.h"
#include "wine/debug.h"
#include "wine/heap.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL(inetcpl);
@ -193,7 +193,7 @@ static void connections_on_initdialog(HWND hwnd)
EnableWindow(GetDlgItem(hwnd, IDC_EDIT_PROXY_PORT), TRUE);
}
port = strchrW(address, ':');
port = wcschr(address, ':');
if(port)
{
*port = 0;