infosoft: Build with msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-06-06 09:02:08 +02:00
parent 7fa73a79af
commit 691fe54512
3 changed files with 4 additions and 5 deletions

View File

@ -1,6 +1,8 @@
MODULE = infosoft.dll
IMPORTS = uuid advapi32
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
infosoft_main.c \
wordbreaker.c

View File

@ -20,7 +20,6 @@
#define COBJMACROS
#include "config.h"
#include <stdarg.h>
#include <stdio.h>

View File

@ -20,7 +20,6 @@
#define COBJMACROS
#include "config.h"
#include <stdarg.h>
@ -29,7 +28,6 @@
#include "winuser.h"
#include "ole2.h"
#include "indexsrv.h"
#include "wine/unicode.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(infosoft);
@ -128,7 +126,7 @@ static HRESULT WINAPI wb_BreakText( IWordBreaker *iface,
{
case 0: /* skip spaces and punctuation */
if (!ch || ispunctW(ch) || isspaceW(ch))
if (!ch || iswpunct(ch) || iswspace(ch))
ts->iCur ++;
else
state = 1;
@ -136,7 +134,7 @@ static HRESULT WINAPI wb_BreakText( IWordBreaker *iface,
case 1: /* find the end of the word */
if (ch && !ispunctW(ch) && !isspaceW(ch))
if (ch && !iswpunct(ch) && !iswspace(ch))
len++;
else
{