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
0c183c4e
Commit
0c183c4e
authored
Feb 06, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 06, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe: Let C look like C.
parent
0e5f84a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
intshcut.c
dlls/ieframe/intshcut.c
+4
-4
No files found.
dlls/ieframe/intshcut.c
View file @
0c183c4e
...
...
@@ -613,7 +613,7 @@ static HRESULT WINAPI PersistFile_Save(IPersistFile *pFile, LPCOLESTR pszFileNam
WriteFile
(
file
,
str_eol
,
lstrlenA
(
str_eol
),
&
bytesWritten
,
NULL
);
hr
=
IPropertySetStorage_Open
(
This
->
property_set_storage
,
&
FMTID_Intshcut
,
STGM_READ
|
STGM_SHARE_EXCLUSIVE
,
&
pPropStgRead
);
if
SUCCEEDED
(
hr
)
if
(
SUCCEEDED
(
hr
)
)
{
hr
=
IPropertyStorage_ReadMultiple
(
pPropStgRead
,
2
,
ps
,
pvread
);
if
(
hr
==
S_FALSE
)
...
...
@@ -622,7 +622,7 @@ static HRESULT WINAPI PersistFile_Save(IPersistFile *pFile, LPCOLESTR pszFileNam
hr
=
S_OK
;
IPropertyStorage_Release
(
pPropStgRead
);
}
else
if
SUCCEEDED
(
hr
)
else
if
(
SUCCEEDED
(
hr
)
)
{
char
indexString
[
50
];
len
=
WideCharToMultiByte
(
CP_UTF8
,
0
,
pvread
[
0
].
u
.
pwszVal
,
-
1
,
NULL
,
0
,
0
,
0
);
...
...
@@ -819,7 +819,7 @@ static InternetShortcut *create_shortcut(void)
newshortcut
->
refCount
=
1
;
hr
=
StgCreateStorageEx
(
NULL
,
STGM_CREATE
|
STGM_READWRITE
|
STGM_SHARE_EXCLUSIVE
|
STGM_DELETEONRELEASE
,
STGFMT_STORAGE
,
0
,
NULL
,
NULL
,
&
IID_IPropertySetStorage
,
(
void
**
)
&
newshortcut
->
property_set_storage
);
if
FAILED
(
hr
)
if
(
FAILED
(
hr
)
)
{
TRACE
(
"Failed to create the storage object needed for the shortcut.
\n
"
);
heap_free
(
newshortcut
);
...
...
@@ -827,7 +827,7 @@ static InternetShortcut *create_shortcut(void)
}
hr
=
IPropertySetStorage_Create
(
newshortcut
->
property_set_storage
,
&
FMTID_Intshcut
,
NULL
,
PROPSETFLAG_DEFAULT
,
STGM_CREATE
|
STGM_READWRITE
|
STGM_SHARE_EXCLUSIVE
,
&
dummy
);
if
FAILED
(
hr
)
if
(
FAILED
(
hr
)
)
{
TRACE
(
"Failed to create the property object needed for the shortcut.
\n
"
);
IPropertySetStorage_Release
(
newshortcut
->
property_set_storage
);
...
...
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