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
4f332e61
Commit
4f332e61
authored
Sep 21, 2008
by
Alexander Nicolaysen Sørnes
Committed by
Alexandre Julliard
Sep 22, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regedit: Fix some fprintf arguments.
parent
1e0a7762
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
regproc.c
programs/regedit/regproc.c
+11
-3
No files found.
programs/regedit/regproc.c
View file @
4f332e61
...
@@ -576,8 +576,10 @@ static void processRegEntry(WCHAR* stdInput, BOOL isUnicode)
...
@@ -576,8 +576,10 @@ static void processRegEntry(WCHAR* stdInput, BOOL isUnicode)
delete_registry_key
(
stdInput
+
1
);
delete_registry_key
(
stdInput
+
1
);
}
else
if
(
openKeyW
(
stdInput
)
!=
ERROR_SUCCESS
)
}
else
if
(
openKeyW
(
stdInput
)
!=
ERROR_SUCCESS
)
{
{
char
*
stdInputA
=
GetMultiByteString
(
stdInput
);
fprintf
(
stderr
,
"%s: setValue failed to open key %s
\n
"
,
fprintf
(
stderr
,
"%s: setValue failed to open key %s
\n
"
,
getAppName
(),
stdInput
);
getAppName
(),
stdInputA
);
HeapFree
(
GetProcessHeap
(),
0
,
stdInputA
);
}
}
}
else
if
(
currentKeyHandle
&&
}
else
if
(
currentKeyHandle
&&
((
stdInput
[
0
]
==
'@'
)
||
/* reading a default @=data pair */
((
stdInput
[
0
]
==
'@'
)
||
/* reading a default @=data pair */
...
@@ -1063,11 +1065,17 @@ static void export_hkey(FILE *file, HKEY key,
...
@@ -1063,11 +1065,17 @@ static void export_hkey(FILE *file, HKEY key,
}
}
default:
default:
{
char
*
key_nameA
=
GetMultiByteString
(
*
reg_key_name_buf
);
char
*
value_nameA
=
GetMultiByteString
(
*
val_name_buf
);
fprintf
(
stderr
,
"%s: warning - unsupported registry format '%d', "
fprintf
(
stderr
,
"%s: warning - unsupported registry format '%d', "
"treat as binary
\n
"
,
"treat as binary
\n
"
,
getAppName
(),
value_type
);
getAppName
(),
value_type
);
fprintf
(
stderr
,
"key name:
\"
%s
\"\n
"
,
*
reg_key_name_buf
);
fprintf
(
stderr
,
"key name:
\"
%s
\"\n
"
,
key_nameA
);
fprintf
(
stderr
,
"value name:
\"
%s
\"\n\n
"
,
*
val_name_buf
);
fprintf
(
stderr
,
"value name:
\"
%s
\"\n\n
"
,
value_nameA
);
HeapFree
(
GetProcessHeap
(),
0
,
key_nameA
);
HeapFree
(
GetProcessHeap
(),
0
,
value_nameA
);
}
/* falls through */
/* falls through */
case
REG_MULTI_SZ
:
case
REG_MULTI_SZ
:
/* falls through */
/* falls through */
...
...
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