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
4955fabb
Commit
4955fabb
authored
Apr 05, 2009
by
Nicolas Le Cam
Committed by
Alexandre Julliard
Apr 06, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Fix crash when launched from drive root dir.
parent
bf7fa5b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
shlfolder.c
dlls/shell32/tests/shlfolder.c
+4
-4
No files found.
dlls/shell32/tests/shlfolder.c
View file @
4955fabb
...
...
@@ -818,8 +818,8 @@ static void test_GetAttributesOf(void)
win_skip
(
"GetCurrentDirectoryA returned empty string. Skipping test_GetAttributesOf
\n
"
);
return
;
}
if
(
cCurrDirA
[
len
-
1
]
==
'\\'
)
cCurrDirA
[
len
-
1
]
=
0
;
if
(
len
>
3
&&
cCurrDirA
[
len
-
1
]
==
'\\'
)
cCurrDirA
[
len
-
1
]
=
0
;
/* create test directory */
CreateFilesFolders
();
...
...
@@ -862,7 +862,7 @@ static void test_GetAttributesOf(void)
hr
=
IShellFolder_GetAttributesOf
(
IDesktopFolder
,
1
,
(
LPCITEMIDLIST
*
)
&
newPIDL
,
&
dwFlags
);
ok
(
SUCCEEDED
(
hr
),
"Desktop->GetAttributesOf() failed! hr = %08x
\n
"
,
hr
);
ok
((
dwFlags
&
SFGAO_FOLDER
),
"Wrong directory attribute for absolute PIDL: %08x
\n
"
,
dwFlags
);
/* free memory */
IMalloc_Free
(
ppM
,
newPIDL
);
...
...
@@ -871,7 +871,7 @@ static void test_GetAttributesOf(void)
Cleanup
();
IShellFolder_Release
(
IDesktopFolder
);
}
}
static
void
test_SHGetPathFromIDList
(
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