winhlp32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
15c4352f4c
commit
6cd7240fec
|
@ -1,8 +1,9 @@
|
|||
MODULE = winhlp32.exe
|
||||
APPMODE = -mwindows
|
||||
IMPORTS = user32 gdi32
|
||||
DELAYIMPORTS = shell32 comctl32 comdlg32
|
||||
|
||||
EXTRADLLFLAGS = -mwindows -mno-cygwin
|
||||
|
||||
C_SRCS = \
|
||||
callback.c \
|
||||
hlpfile.c \
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
%option noinput nounput never-interactive 8bit
|
||||
%x quote
|
||||
%{
|
||||
#include "config.h"
|
||||
#include <assert.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
|
|
|
@ -275,9 +275,9 @@ HLPFILE_WINDOWINFO* WINHELP_GetWindowInfo(HLPFILE* hlpfile, LPCSTR name)
|
|||
strcpy(mwi.name, "main");
|
||||
if (hlpfile && hlpfile->lpszTitle[0])
|
||||
{
|
||||
char tmp[128];
|
||||
char tmp[40];
|
||||
LoadStringA(Globals.hInstance, STID_WINE_HELP, tmp, sizeof(tmp));
|
||||
snprintf(mwi.caption, sizeof(mwi.caption), "%s %s - %s",
|
||||
_snprintf(mwi.caption, sizeof(mwi.caption), "%s %s - %s",
|
||||
hlpfile->lpszTitle, tmp, hlpfile->lpszPath);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue