Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
422ab96b
Commit
422ab96b
authored
May 01, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
view: Build with msvcrt.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
01db71e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Makefile.in
programs/view/Makefile.in
+2
-1
view.c
programs/view/view.c
+1
-2
No files found.
programs/view/Makefile.in
View file @
422ab96b
MODULE
=
view.exe
APPMODE
=
-mwindows
-municode
IMPORTS
=
comdlg32 user32 gdi32
EXTRADLLFLAGS
=
-mwindows
-municode
-mno-cygwin
C_SRCS
=
\
view.c
...
...
programs/view/view.c
View file @
422ab96b
...
...
@@ -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
)
);
s
nprintfW
(
filter
,
ARRAY_SIZE
(
filter
),
filterW
,
metafileFilter
,
0
,
0
);
s
wprintf
(
filter
,
ARRAY_SIZE
(
filter
),
filterW
,
metafileFilter
,
0
,
0
);
ofn
.
lpstrFilter
=
filter
;
ofn
.
hwndOwner
=
hWnd
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment