view: Build with msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-05-01 10:40:40 +02:00
parent 01db71e4e4
commit 422ab96bcd
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,8 @@
MODULE = view.exe
APPMODE = -mwindows -municode
IMPORTS = comdlg32 user32 gdi32
EXTRADLLFLAGS = -mwindows -municode -mno-cygwin
C_SRCS = \
view.c

View File

@ -21,7 +21,6 @@
#include <stdio.h>
#include "resource.h"
#include "wine/unicode.h"
static HINSTANCE hInst;
static HWND hMainWnd;
@ -60,7 +59,7 @@ static BOOL FileOpen(HWND hWnd, WCHAR *fn, int fnsz)
OFN_SHOWHELP, 0, 0, NULL, 0, NULL };
LoadStringW( hInst, IDS_OPEN_META_STRING, metafileFilter, ARRAY_SIZE(metafileFilter) );
snprintfW( filter, ARRAY_SIZE(filter), filterW, metafileFilter, 0, 0 );
swprintf( filter, ARRAY_SIZE(filter), filterW, metafileFilter, 0, 0 );
ofn.lpstrFilter = filter;
ofn.hwndOwner = hWnd;