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
fbe35b62
Commit
fbe35b62
authored
Mar 21, 2005
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 21, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Key words and replacements are case insensitive.
parent
6a365e00
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
registrar.c
dlls/atl/registrar.c
+9
-7
No files found.
dlls/atl/registrar.c
View file @
fbe35b62
...
...
@@ -170,11 +170,13 @@ static HRESULT do_preprocess(Registrar *This, LPCOLESTR data, strbuf *buf)
}
else
{
for
(
rep_iter
=
This
->
rep
;
rep_iter
;
rep_iter
=
rep_iter
->
next
)
{
if
(
rep_iter
->
key_len
==
iter
-
iter2
&&
!
mem
cmp
(
iter2
,
rep_iter
->
key
,
rep_iter
->
key_len
*
sizeof
(
OLECHAR
)
))
&&
!
mem
icmpW
(
iter2
,
rep_iter
->
key
,
rep_iter
->
key_len
))
break
;
}
if
(
!
rep_iter
)
if
(
!
rep_iter
)
{
WARN
(
"Could not find replacement: %s
\n
"
,
debugstr_wn
(
iter2
,
iter
-
iter2
));
return
DISP_E_EXCEPTION
;
}
strbuf_write
(
rep_iter
->
item
,
buf
,
-
1
);
}
...
...
@@ -218,13 +220,13 @@ static HRESULT do_process_key(LPCOLESTR *pstr, HKEY parent_key, strbuf *buf, BOO
while
(
buf
->
str
[
1
]
||
buf
->
str
[
0
]
!=
'}'
)
{
key_type
=
NORMAL
;
if
(
!
lstrcmpW
(
buf
->
str
,
wstrNoRemove
))
if
(
!
lstrcmp
i
W
(
buf
->
str
,
wstrNoRemove
))
key_type
=
NO_REMOVE
;
else
if
(
!
lstrcmpW
(
buf
->
str
,
wstrForceRemove
))
else
if
(
!
lstrcmp
i
W
(
buf
->
str
,
wstrForceRemove
))
key_type
=
FORCE_REMOVE
;
else
if
(
!
lstrcmpW
(
buf
->
str
,
wstrval
))
else
if
(
!
lstrcmp
i
W
(
buf
->
str
,
wstrval
))
key_type
=
IS_VAL
;
else
if
(
!
lstrcmpW
(
buf
->
str
,
wstrDelete
))
else
if
(
!
lstrcmp
i
W
(
buf
->
str
,
wstrDelete
))
key_type
=
DO_DELETE
;
if
(
key_type
!=
NORMAL
)
{
...
...
@@ -369,7 +371,7 @@ static HRESULT do_process_root_key(LPCOLESTR data, BOOL do_register)
break
;
}
for
(
i
=
0
;
i
<
sizeof
(
root_keys
)
/
sizeof
(
root_keys
[
0
]);
i
++
)
{
if
(
!
lstrcmpW
(
buf
.
str
,
root_keys
[
i
].
name
))
if
(
!
lstrcmp
i
W
(
buf
.
str
,
root_keys
[
i
].
name
))
break
;
}
if
(
i
==
sizeof
(
root_keys
)
/
sizeof
(
root_keys
[
0
]))
{
...
...
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