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
7bffb5e4
Commit
7bffb5e4
authored
Apr 03, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Apr 03, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: [Read/Write]PrivateProfile functions accept a NULL filename.
parent
f537eb24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
profile.c
dlls/kernel/profile.c
+3
-3
No files found.
dlls/kernel/profile.c
View file @
7bffb5e4
...
...
@@ -734,6 +734,9 @@ static BOOL PROFILE_Open( LPCWSTR filename )
GetWindowsDirectoryW
(
windirW
,
MAX_PATH
);
if
(
!
filename
)
filename
=
wininiW
;
if
((
RtlDetermineDosPathNameType_U
(
filename
)
==
RELATIVE_PATH
)
&&
!
strchrW
(
filename
,
'\\'
)
&&
!
strchrW
(
filename
,
'/'
))
{
...
...
@@ -1072,9 +1075,6 @@ static int PROFILE_GetPrivateProfileString( LPCWSTR section, LPCWSTR entry,
int
ret
;
LPCWSTR
pDefVal
=
NULL
;
if
(
!
filename
)
filename
=
wininiW
;
TRACE
(
"%s,%s,%s,%p,%u,%s
\n
"
,
debugstr_w
(
section
),
debugstr_w
(
entry
),
debugstr_w
(
def_val
),
buffer
,
len
,
debugstr_w
(
filename
));
...
...
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