Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
cd028045
Commit
cd028045
authored
Dec 31, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Dec 31, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleview: Fix a crash on null helpstring and name on library level.
parent
9e871539
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
10 deletions
+16
-10
typelib.c
programs/oleview/typelib.c
+16
-10
No files found.
programs/oleview/typelib.c
View file @
cd028045
...
...
@@ -1227,20 +1227,26 @@ static int PopulateTree(void)
AddSpaces
(
tld
,
TAB_SIZE
);
wsprintfW
(
wszText
,
wszFormat2
,
pTLibAttr
->
wMajorVerNum
,
pTLibAttr
->
wMinorVerNum
);
AddToTLDataStrW
(
tld
,
wszText
);
AddToTLDataStrW
(
tld
,
wszComa
);
AddToTLDataStrW
(
tld
,
wszNewLine
);
AddSpaces
(
tld
,
TAB_SIZE
);
AddToTLDataStrW
(
tld
,
wszHelpstring
);
AddToTLDataStrW
(
tld
,
wszOpenBrackets2
);
AddToTLDataStrW
(
tld
,
wszInvertedComa
);
AddToTLDataStrW
(
tld
,
bstrData
);
AddToTLDataStrW
(
tld
,
wszInvertedComa
);
AddToTLDataStrW
(
tld
,
wszCloseBrackets2
);
if
(
bstrData
)
{
/* helpstring is optional */
AddToTLDataStrW
(
tld
,
wszComa
);
AddToTLDataStrW
(
tld
,
wszNewLine
);
AddSpaces
(
tld
,
TAB_SIZE
);
AddToTLDataStrW
(
tld
,
wszHelpstring
);
AddToTLDataStrW
(
tld
,
wszOpenBrackets2
);
AddToTLDataStrW
(
tld
,
wszInvertedComa
);
AddToTLDataStrW
(
tld
,
bstrData
);
AddToTLDataStrW
(
tld
,
wszInvertedComa
);
AddToTLDataStrW
(
tld
,
wszCloseBrackets2
);
}
AddToTLDataStrW
(
tld
,
wszNewLine
);
AddToTLDataStrW
(
tld
,
wszCloseBrackets1
);
AddToTLDataStrW
(
tld
,
wszNewLine
);
AddToTLDataStrW
(
tld
,
wszLibrary
);
AddToTLDataStrW
(
tld
,
bstrName
);
if
(
bstrName
)
AddToTLDataStrW
(
tld
,
bstrName
);
AddToTLDataStrW
(
tld
,
wszNewLine
);
AddToTLDataStrW
(
tld
,
wszOpenBrackets3
);
AddToTLDataStrW
(
tld
,
wszNewLine
);
...
...
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