* fhandler_registry.cc (must_encode): Fix condition changed for testing.
This commit is contained in:
parent
651d8393c8
commit
1a3e844b43
|
@ -1,3 +1,7 @@
|
||||||
|
2008-12-02 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* fhandler_registry.cc (must_encode): Fix condition changed for testing.
|
||||||
|
|
||||||
2008-12-01 Christian Franke <franke@computer.org>
|
2008-12-01 Christian Franke <franke@computer.org>
|
||||||
|
|
||||||
* fhandler_registry.cc (must_encode): New function.
|
* fhandler_registry.cc (must_encode): New function.
|
||||||
|
|
|
@ -85,7 +85,7 @@ static HKEY open_key (const char *name, REGSAM access, DWORD wow64, bool isValue
|
||||||
static inline bool
|
static inline bool
|
||||||
must_encode (char c)
|
must_encode (char c)
|
||||||
{
|
{
|
||||||
return (isdirsep (c) || c == '%');
|
return (isdirsep (c) || c == ':' || c == '%');
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Encode special chars in registry key or value name.
|
/* Encode special chars in registry key or value name.
|
||||||
|
|
Loading…
Reference in New Issue