* fhandler_registry.cc (must_encode): Fix condition changed for testing.

This commit is contained in:
Corinna Vinschen 2008-12-02 11:44:58 +00:00
parent 651d8393c8
commit 1a3e844b43
2 changed files with 5 additions and 1 deletions

View File

@ -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>
* fhandler_registry.cc (must_encode): New function.

View File

@ -85,7 +85,7 @@ static HKEY open_key (const char *name, REGSAM access, DWORD wow64, bool isValue
static inline bool
must_encode (char c)
{
return (isdirsep (c) || c == '%');
return (isdirsep (c) || c == ':' || c == '%');
}
/* Encode special chars in registry key or value name.