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
284bfc67
Commit
284bfc67
authored
Mar 16, 2018
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 16, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32/tests: Remove a macro.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2f51d691
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
filedlg.c
dlls/comdlg32/tests/filedlg.c
+4
-6
No files found.
dlls/comdlg32/tests/filedlg.c
View file @
284bfc67
...
...
@@ -939,29 +939,27 @@ static void test_resizable2(void)
ofn
.
hInstance
=
GetModuleHandleA
(
NULL
);
ofn
.
lpTemplateName
=
"template1"
;
ofn
.
Flags
=
OFN_EXPLORER
;
#define ISSIZABLE TRUE
ret
=
GetOpenFileNameA
(
&
ofn
);
ok
(
ret
==
ISSIZABL
E
,
"File Dialog should have been sizable
\n
"
);
ok
(
ret
==
TRU
E
,
"File Dialog should have been sizable
\n
"
);
ret
=
CommDlgExtendedError
();
ok
(
!
ret
,
"CommDlgExtendedError returned %#x
\n
"
,
ret
);
ofn
.
Flags
=
OFN_EXPLORER
|
OFN_ENABLETEMPLATE
;
ret
=
GetOpenFileNameA
(
&
ofn
);
ok
(
ret
!=
ISSIZABLE
,
"File Dialog should NOT have been sizable
\n
"
);
ok
(
!
ret
,
"File Dialog should NOT have been sizable
\n
"
);
ret
=
CommDlgExtendedError
();
ok
(
!
ret
,
"CommDlgExtendedError returned %#x
\n
"
,
ret
);
ofn
.
Flags
=
OFN_EXPLORER
|
OFN_ENABLETEMPLATEHANDLE
;
ofn
.
hInstance
=
LoadResource
(
GetModuleHandleA
(
NULL
),
FindResourceA
(
GetModuleHandleA
(
NULL
),
"template1"
,
(
LPSTR
)
RT_DIALOG
));
ofn
.
lpTemplateName
=
NULL
;
ret
=
GetOpenFileNameA
(
&
ofn
);
ok
(
ret
!=
ISSIZABLE
,
"File Dialog should NOT have been sizable
\n
"
);
ok
(
!
ret
,
"File Dialog should NOT have been sizable
\n
"
);
ret
=
CommDlgExtendedError
();
ok
(
!
ret
,
"CommDlgExtendedError returned %#x
\n
"
,
ret
);
ofn
.
Flags
=
OFN_EXPLORER
|
OFN_ENABLEHOOK
;
ret
=
GetOpenFileNameA
(
&
ofn
);
ok
(
ret
!=
ISSIZABLE
,
"File Dialog should NOT have been sizable
\n
"
);
ok
(
!
ret
,
"File Dialog should NOT have been sizable
\n
"
);
ret
=
CommDlgExtendedError
();
ok
(
!
ret
,
"CommDlgExtendedError returned %#x
\n
"
,
ret
);
#undef ISSIZABLE
}
static
void
test_mru
(
void
)
...
...
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