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
a85895d2
Commit
a85895d2
authored
Feb 22, 2007
by
Misha Koshelev
Committed by
Alexandre Julliard
Feb 22, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleview: Account for unnamed right hand side parameter of propput.
parent
a0ad8f38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
typelib.c
programs/oleview/typelib.c
+9
-4
No files found.
programs/oleview/typelib.c
View file @
a85895d2
...
...
@@ -437,6 +437,7 @@ int EnumFuncs(ITypeInfo *pTypeInfo, int cFuncs, HTREEITEM hParent)
BSTR
bstrName
,
*
bstrParamNames
;
WCHAR
wszText
[
MAX_LOAD_STRING
];
WCHAR
wszAfter
[
MAX_LOAD_STRING
];
WCHAR
szRhs
[]
=
{
'r'
,
'h'
,
's'
,
0
};
/* Right-hand side of a propput */
BOOL
bFirst
;
U
(
tvis
).
item
.
mask
=
TVIF_TEXT
|
TVIF_PARAM
;
...
...
@@ -531,10 +532,10 @@ int EnumFuncs(ITypeInfo *pTypeInfo, int cFuncs, HTREEITEM hParent)
AddToTLDataStrW
(
tld
,
bstrName
);
AddToTLDataStrW
(
tld
,
wszOpenBrackets2
);
for
(
j
=
0
;
j
<
namesNo
-
1
;
j
++
)
for
(
j
=
0
;
j
<
pFuncDesc
->
cParams
;
j
++
)
{
if
(
j
!=
0
)
AddToTLDataStrW
(
tld
,
wszComa
);
if
(
namesNo
-
1
!=
1
)
if
(
pFuncDesc
->
cParams
!=
1
)
{
AddToTLDataStrW
(
tld
,
wszNewLine
);
AddSpaces
(
tld
,
tabSize
);
...
...
@@ -574,8 +575,12 @@ int EnumFuncs(ITypeInfo *pTypeInfo, int cFuncs, HTREEITEM hParent)
AddToTLDataStrW
(
tld
,
wszText
);
AddToTLDataStrW
(
tld
,
wszAfter
);
AddToTLDataStrW
(
tld
,
wszSpace
);
AddToTLDataStrW
(
tld
,
bstrParamNames
[
j
+
1
]);
SysFreeString
(
bstrParamNames
[
j
+
1
]);
if
(
j
+
1
<
namesNo
)
{
AddToTLDataStrW
(
tld
,
bstrParamNames
[
j
+
1
]);
SysFreeString
(
bstrParamNames
[
j
+
1
]);
}
else
{
AddToTLDataStrW
(
tld
,
szRhs
);
}
}
AddToTLDataStrW
(
tld
,
wszCloseBrackets2
);
AddToTLDataStrW
(
tld
,
wszSemicolon
);
...
...
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