Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
50592566
Commit
50592566
authored
Nov 20, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Nov 20, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32/tests: Fix some test failures on Win7.
parent
9cec74f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
filedlg.c
dlls/comdlg32/tests/filedlg.c
+8
-5
No files found.
dlls/comdlg32/tests/filedlg.c
View file @
50592566
...
@@ -876,7 +876,7 @@ static void test_arrange(void)
...
@@ -876,7 +876,7 @@ static void test_arrange(void)
}
}
}
}
static
CHAR
WIN
DIR
[
MAX_PATH
];
static
CHAR
SYS
DIR
[
MAX_PATH
];
static
UINT_PTR
CALLBACK
path_hook_proc
(
HWND
hDlg
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
static
UINT_PTR
CALLBACK
path_hook_proc
(
HWND
hDlg
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
{
...
@@ -896,8 +896,8 @@ static UINT_PTR CALLBACK path_hook_proc( HWND hDlg, UINT msg, WPARAM wParam, LPA
...
@@ -896,8 +896,8 @@ static UINT_PTR CALLBACK path_hook_proc( HWND hDlg, UINT msg, WPARAM wParam, LPA
memset
(
buf
,
0x66
,
sizeof
(
buf
));
memset
(
buf
,
0x66
,
sizeof
(
buf
));
ret
=
SendMessageA
(
GetParent
(
hDlg
),
CDM_GETFOLDERPATH
,
sizeof
(
buf
),
(
LPARAM
)
buf
);
ret
=
SendMessageA
(
GetParent
(
hDlg
),
CDM_GETFOLDERPATH
,
sizeof
(
buf
),
(
LPARAM
)
buf
);
ok
(
!
lstrcmp
A
(
WINDIR
,
buf
),
"Expected '%s', got '%s'
\n
"
,
WIN
DIR
,
buf
);
ok
(
!
lstrcmp
iA
(
SYSDIR
,
buf
),
"Expected '%s', got '%s'
\n
"
,
SYS
DIR
,
buf
);
ok
(
lstrlenA
(
WINDIR
)
+
1
==
ret
,
"Expected %d, got %d
\n
"
,
lstrlenA
(
WIN
DIR
)
+
1
,
ret
);
ok
(
lstrlenA
(
SYSDIR
)
+
1
==
ret
,
"Expected %d, got %d
\n
"
,
lstrlenA
(
SYS
DIR
)
+
1
,
ret
);
}
}
}
}
...
@@ -911,8 +911,11 @@ static void test_getfolderpath(void)
...
@@ -911,8 +911,11 @@ static void test_getfolderpath(void)
char
szFileName
[
MAX_PATH
]
=
""
;
char
szFileName
[
MAX_PATH
]
=
""
;
char
szInitialDir
[
MAX_PATH
];
char
szInitialDir
[
MAX_PATH
];
GetWindowsDirectory
(
szInitialDir
,
MAX_PATH
);
/* We need to pick a different directory as the other tests because of new
lstrcpyA
(
WINDIR
,
szInitialDir
);
* Windows 7 behavior.
*/
GetSystemDirectory
(
szInitialDir
,
MAX_PATH
);
lstrcpyA
(
SYSDIR
,
szInitialDir
);
ZeroMemory
(
&
ofn
,
sizeof
(
ofn
));
ZeroMemory
(
&
ofn
,
sizeof
(
ofn
));
...
...
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