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
ff23498e
Commit
ff23498e
authored
Sep 19, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Fix printing NULL strings.
parent
6a8ba361
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
shelllink.c
dlls/shell32/shelllink.c
+3
-3
No files found.
dlls/shell32/shelllink.c
View file @
ff23498e
...
@@ -1472,7 +1472,7 @@ static HRESULT WINAPI IShellLinkA_fnSetDescription(IShellLinkA *iface, LPCSTR ps
...
@@ -1472,7 +1472,7 @@ static HRESULT WINAPI IShellLinkA_fnSetDescription(IShellLinkA *iface, LPCSTR ps
{
{
IShellLinkImpl
*
This
=
impl_from_IShellLinkA
(
iface
);
IShellLinkImpl
*
This
=
impl_from_IShellLinkA
(
iface
);
TRACE
(
"(%p)->(pName=%s)
\n
"
,
This
,
pszName
);
TRACE
(
"(%p)->(pName=%s)
\n
"
,
This
,
debugstr_a
(
pszName
)
);
HeapFree
(
GetProcessHeap
(),
0
,
This
->
sDescription
);
HeapFree
(
GetProcessHeap
(),
0
,
This
->
sDescription
);
if
(
pszName
)
if
(
pszName
)
...
@@ -1540,7 +1540,7 @@ static HRESULT WINAPI IShellLinkA_fnSetArguments(IShellLinkA *iface, LPCSTR pszA
...
@@ -1540,7 +1540,7 @@ static HRESULT WINAPI IShellLinkA_fnSetArguments(IShellLinkA *iface, LPCSTR pszA
{
{
IShellLinkImpl
*
This
=
impl_from_IShellLinkA
(
iface
);
IShellLinkImpl
*
This
=
impl_from_IShellLinkA
(
iface
);
TRACE
(
"(%p)->(args=%s)
\n
"
,
This
,
pszArgs
);
TRACE
(
"(%p)->(args=%s)
\n
"
,
This
,
debugstr_a
(
pszArgs
)
);
HeapFree
(
GetProcessHeap
(),
0
,
This
->
sArgs
);
HeapFree
(
GetProcessHeap
(),
0
,
This
->
sArgs
);
if
(
pszArgs
)
if
(
pszArgs
)
...
@@ -1664,7 +1664,7 @@ static HRESULT WINAPI IShellLinkA_fnSetPath(IShellLinkA *iface, LPCSTR pszFile)
...
@@ -1664,7 +1664,7 @@ static HRESULT WINAPI IShellLinkA_fnSetPath(IShellLinkA *iface, LPCSTR pszFile)
HRESULT
r
;
HRESULT
r
;
LPWSTR
str
;
LPWSTR
str
;
TRACE
(
"(%p)->(path=%s)
\n
"
,
This
,
pszFile
);
TRACE
(
"(%p)->(path=%s)
\n
"
,
This
,
debugstr_a
(
pszFile
)
);
if
(
!
pszFile
)
return
E_INVALIDARG
;
if
(
!
pszFile
)
return
E_INVALIDARG
;
...
...
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