view: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
01db71e4e4
commit
422ab96bcd
|
@ -1,7 +1,8 @@
|
||||||
MODULE = view.exe
|
MODULE = view.exe
|
||||||
APPMODE = -mwindows -municode
|
|
||||||
IMPORTS = comdlg32 user32 gdi32
|
IMPORTS = comdlg32 user32 gdi32
|
||||||
|
|
||||||
|
EXTRADLLFLAGS = -mwindows -municode -mno-cygwin
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
view.c
|
view.c
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "resource.h"
|
#include "resource.h"
|
||||||
#include "wine/unicode.h"
|
|
||||||
|
|
||||||
static HINSTANCE hInst;
|
static HINSTANCE hInst;
|
||||||
static HWND hMainWnd;
|
static HWND hMainWnd;
|
||||||
|
@ -60,7 +59,7 @@ static BOOL FileOpen(HWND hWnd, WCHAR *fn, int fnsz)
|
||||||
OFN_SHOWHELP, 0, 0, NULL, 0, NULL };
|
OFN_SHOWHELP, 0, 0, NULL, 0, NULL };
|
||||||
|
|
||||||
LoadStringW( hInst, IDS_OPEN_META_STRING, metafileFilter, ARRAY_SIZE(metafileFilter) );
|
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.lpstrFilter = filter;
|
||||||
ofn.hwndOwner = hWnd;
|
ofn.hwndOwner = hWnd;
|
||||||
|
|
Loading…
Reference in New Issue