Commit 422ab96b authored by Alexandre Julliard's avatar Alexandre Julliard

view: Build with msvcrt.

parent 01db71e4
MODULE = view.exe
APPMODE = -mwindows -municode
IMPORTS = comdlg32 user32 gdi32
EXTRADLLFLAGS = -mwindows -municode -mno-cygwin
C_SRCS = \
view.c
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment