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
9416abaf
Commit
9416abaf
authored
Jan 26, 1999
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't abort PROFILE_GetSection on empty keys.
parent
6bc8bbd3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
profile.c
files/profile.c
+2
-1
No files found.
files/profile.c
View file @
9416abaf
...
...
@@ -555,9 +555,10 @@ static INT32 PROFILE_GetSection( PROFILESECTION *section, LPCSTR section_name,
if
(
section
->
name
&&
!
strcasecmp
(
section
->
name
,
section_name
))
{
UINT32
oldlen
=
len
;
for
(
key
=
section
->
key
;
key
&&
*
(
key
->
name
)
;
key
=
key
->
next
)
for
(
key
=
section
->
key
;
key
;
key
=
key
->
next
)
{
if
(
len
<=
2
)
break
;
if
(
!*
key
->
name
)
continue
;
/* Skip empty lines */
if
(
IS_ENTRY_COMMENT
(
key
->
name
))
continue
;
/* Skip comments */
PROFILE_CopyEntry
(
buffer
,
key
->
name
,
len
-
1
,
handle_env
);
len
-=
strlen
(
buffer
)
+
1
;
...
...
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