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
05c23eda
Commit
05c23eda
authored
Apr 28, 2006
by
James Hawkins
Committed by
Alexandre Julliard
May 05, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advpack: Clean up the formatting of RegInstall to match the rest of the file.
parent
d049c37a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
8 deletions
+13
-8
reg.c
dlls/advpack/reg.c
+13
-8
No files found.
dlls/advpack/reg.c
View file @
05c23eda
...
...
@@ -236,15 +236,20 @@ HRESULT WINAPI RegInstallW(HMODULE hm, LPCWSTR pszSection, const STRTABLEW* pstT
goto
done
;
/* Write the additional string table */
if
(
pstTable
)
for
(
i
=
0
;
i
<
pstTable
->
cEntries
;
i
++
)
{
WCHAR
tmp_value
[
MAX_PATH
+
2
];
tmp_value
[
0
]
=
'\"'
;
lstrcpyW
(
tmp_value
+
1
,
pstTable
->
pse
[
i
].
pszValue
);
lstrcatW
(
tmp_value
,
quote
);
WritePrivateProfileStringW
(
Strings
,
pstTable
->
pse
[
i
].
pszName
,
tmp_value
,
tmp_ini_path
);
if
(
pstTable
)
{
for
(
i
=
0
;
i
<
pstTable
->
cEntries
;
i
++
)
{
WCHAR
tmp_value
[
MAX_PATH
+
2
];
tmp_value
[
0
]
=
'\"'
;
lstrcpyW
(
tmp_value
+
1
,
pstTable
->
pse
[
i
].
pszValue
);
lstrcatW
(
tmp_value
,
quote
);
WritePrivateProfileStringW
(
Strings
,
pstTable
->
pse
[
i
].
pszName
,
tmp_value
,
tmp_ini_path
);
}
}
/* flush cache */
WritePrivateProfileStringW
(
NULL
,
NULL
,
NULL
,
tmp_ini_path
);
...
...
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