forked from Mirrors/openclonk
Windows: Fix saving of custom keys (#1313)
The registry compiler couldn't handle strings beginning with a separator, which was used for marking keys defined by scan code.stable-6.1
parent
cc46f0a388
commit
6b27635bf3
|
@ -498,6 +498,8 @@ bool StdCompilerConfigRead::FollowName(const char *szName)
|
|||
|
||||
bool StdCompilerConfigRead::Separator(Sep eSep)
|
||||
{
|
||||
// ensure string is loaded in case value begins with a separator
|
||||
if (!LastString.getData()) LastString.Take(ReadString());
|
||||
if (LastString.getData())
|
||||
{
|
||||
// separator within string: check if it is there
|
||||
|
|
Loading…
Reference in New Issue