inetcpl: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
afc721f0f1
commit
e01d9db274
|
@ -2,6 +2,8 @@ MODULE = inetcpl.cpl
|
||||||
IMPORTS = comctl32 shlwapi user32 advapi32
|
IMPORTS = comctl32 shlwapi user32 advapi32
|
||||||
DELAYIMPORTS = cryptui wininet ole32 urlmon shell32
|
DELAYIMPORTS = cryptui wininet ole32 urlmon shell32
|
||||||
|
|
||||||
|
EXTRADLLFLAGS = -mno-cygwin
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
connections.c \
|
connections.c \
|
||||||
content.c \
|
content.c \
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <windef.h>
|
#include <windef.h>
|
||||||
#include <winbase.h>
|
#include <winbase.h>
|
||||||
|
#include <winnls.h>
|
||||||
#include <wininet.h>
|
#include <wininet.h>
|
||||||
#include <winuser.h>
|
#include <winuser.h>
|
||||||
#include <winreg.h>
|
#include <winreg.h>
|
||||||
|
@ -27,7 +28,6 @@
|
||||||
#include "inetcpl.h"
|
#include "inetcpl.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
#include "wine/heap.h"
|
#include "wine/heap.h"
|
||||||
#include "wine/unicode.h"
|
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(inetcpl);
|
WINE_DEFAULT_DEBUG_CHANNEL(inetcpl);
|
||||||
|
|
||||||
|
@ -193,7 +193,7 @@ static void connections_on_initdialog(HWND hwnd)
|
||||||
EnableWindow(GetDlgItem(hwnd, IDC_EDIT_PROXY_PORT), TRUE);
|
EnableWindow(GetDlgItem(hwnd, IDC_EDIT_PROXY_PORT), TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
port = strchrW(address, ':');
|
port = wcschr(address, ':');
|
||||||
if(port)
|
if(port)
|
||||||
{
|
{
|
||||||
*port = 0;
|
*port = 0;
|
||||||
|
|
Loading…
Reference in New Issue