git://git.iain.cx/iain
/
nssm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Try to create messages at install time.
[nssm.git]
/
registry.cpp
diff --git
a/registry.cpp
b/registry.cpp
index
86eaaf5
..
b8aab78
100644
(file)
--- a/
registry.cpp
+++ b/
registry.cpp
@@
-524,7
+524,7
@@
long open_registry(const TCHAR *service_name, const TCHAR *sub, REGSAM sam, HKEY
\r
HKEY open_registry(const TCHAR *service_name, const TCHAR *sub, REGSAM sam, bool must_exist) {
\r
HKEY key;
\r
\r
HKEY open_registry(const TCHAR *service_name, const TCHAR *sub, REGSAM sam, bool must_exist) {
\r
HKEY key;
\r
- long error = open_registry(service_name, sub, sam, &key,
true
);
\r
+ long error = open_registry(service_name, sub, sam, &key,
must_exist
);
\r
return key;
\r
}
\r
\r
return key;
\r
}
\r
\r