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
2e80f11c
Commit
2e80f11c
authored
Apr 11, 2008
by
Piotr Caban
Committed by
Alexandre Julliard
Apr 14, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleview: Fixed incorrect brackets bug.
parent
0701ddb6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
16 deletions
+19
-16
typelib.c
programs/oleview/typelib.c
+19
-16
No files found.
programs/oleview/typelib.c
View file @
2e80f11c
...
@@ -545,20 +545,7 @@ static int EnumFuncs(ITypeInfo *pTypeInfo, TYPEATTR *pTypeAttr, HTREEITEM hParen
...
@@ -545,20 +545,7 @@ static int EnumFuncs(ITypeInfo *pTypeInfo, TYPEATTR *pTypeAttr, HTREEITEM hParen
AddToTLDataStrW
(
tld
,
wszCloseBrackets2
);
AddToTLDataStrW
(
tld
,
wszCloseBrackets2
);
memset
(
wszText
,
0
,
sizeof
(
wszText
));
memset
(
wszText
,
0
,
sizeof
(
wszText
));
}
}
if
(
SysStringLen
(
bstrHelpString
))
{
if
(
bFirst
)
AddToTLDataStrW
(
tld
,
wszOpenBrackets1
);
else
{
AddToTLDataStrW
(
tld
,
wszComa
);
AddToTLDataStrW
(
tld
,
wszSpace
);
}
bFirst
=
FALSE
;
AddToTLDataStrW
(
tld
,
wszHelpstring
);
AddToTLDataStrW
(
tld
,
wszOpenBrackets2
);
AddToTLDataStrW
(
tld
,
wszInvertedComa
);
AddToTLDataStrW
(
tld
,
bstrHelpString
);
AddToTLDataStrW
(
tld
,
wszInvertedComa
);
AddToTLDataStrW
(
tld
,
wszCloseBrackets2
);
}
CreateTypeInfo
(
wszText
,
wszAfter
,
pFuncDesc
->
elemdescFunc
.
tdesc
,
pTypeInfo
);
CreateTypeInfo
(
wszText
,
wszAfter
,
pFuncDesc
->
elemdescFunc
.
tdesc
,
pTypeInfo
);
switch
(
pFuncDesc
->
invkind
)
switch
(
pFuncDesc
->
invkind
)
{
{
...
@@ -594,6 +581,22 @@ static int EnumFuncs(ITypeInfo *pTypeInfo, TYPEATTR *pTypeAttr, HTREEITEM hParen
...
@@ -594,6 +581,22 @@ static int EnumFuncs(ITypeInfo *pTypeInfo, TYPEATTR *pTypeAttr, HTREEITEM hParen
break
;
break
;
default:
;
default:
;
}
}
if
(
SysStringLen
(
bstrHelpString
))
{
if
(
bFirst
)
AddToTLDataStrW
(
tld
,
wszOpenBrackets1
);
else
{
AddToTLDataStrW
(
tld
,
wszComa
);
AddToTLDataStrW
(
tld
,
wszSpace
);
}
bFirst
=
FALSE
;
AddToTLDataStrW
(
tld
,
wszHelpstring
);
AddToTLDataStrW
(
tld
,
wszOpenBrackets2
);
AddToTLDataStrW
(
tld
,
wszInvertedComa
);
AddToTLDataStrW
(
tld
,
bstrHelpString
);
AddToTLDataStrW
(
tld
,
wszInvertedComa
);
AddToTLDataStrW
(
tld
,
wszCloseBrackets2
);
}
if
(
!
bFirst
)
if
(
!
bFirst
)
{
{
AddToTLDataStrW
(
tld
,
wszCloseBrackets1
);
AddToTLDataStrW
(
tld
,
wszCloseBrackets1
);
...
@@ -1104,11 +1107,11 @@ static void CreateCoclassHeader(ITypeInfo *pTypeInfo,
...
@@ -1104,11 +1107,11 @@ static void CreateCoclassHeader(ITypeInfo *pTypeInfo,
AddToTLDataStrW
(
pTLData
,
wszNewLine
);
AddToTLDataStrW
(
pTLData
,
wszNewLine
);
AddSpaces
(
pTLData
,
TAB_SIZE
);
AddSpaces
(
pTLData
,
TAB_SIZE
);
AddToTLDataStrW
(
pTLData
,
wszHelpstring
);
AddToTLDataStrW
(
pTLData
,
wszHelpstring
);
AddToTLDataStrW
(
pTLData
,
wszOpenBrackets
1
);
AddToTLDataStrW
(
pTLData
,
wszOpenBrackets
2
);
AddToTLDataStrW
(
pTLData
,
wszInvertedComa
);
AddToTLDataStrW
(
pTLData
,
wszInvertedComa
);
AddToTLDataStrW
(
pTLData
,
bstrHelpString
);
AddToTLDataStrW
(
pTLData
,
bstrHelpString
);
AddToTLDataStrW
(
pTLData
,
wszInvertedComa
);
AddToTLDataStrW
(
pTLData
,
wszInvertedComa
);
AddToTLDataStrW
(
pTLData
,
wszCloseBrackets
1
);
AddToTLDataStrW
(
pTLData
,
wszCloseBrackets
2
);
}
}
SysFreeString
(
bstrHelpString
);
SysFreeString
(
bstrHelpString
);
}
}
...
...
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