Commit e1b644b4 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

Fix parsing '{' char.

parent efff88b8
......@@ -125,7 +125,7 @@ static HRESULT get_word(LPCOLESTR *str, strbuf *buf)
return S_OK;
}
if(*iter == '{' || *iter == '}' || *iter == '=') {
if(*iter == '}' || *iter == '=') {
strbuf_write(iter++, buf, 1);
}else if(*iter == '\'') {
iter2 = ++iter;
......@@ -321,7 +321,7 @@ static HRESULT do_process_key(LPCOLESTR *pstr, HKEY parent_key, strbuf *buf, BOO
break;
}
if(key_type != IS_VAL && key_type != DO_DELETE && *iter == '{') {
if(key_type != IS_VAL && key_type != DO_DELETE && *iter == '{' && isspaceW(iter[1])) {
hres = get_word(&iter, buf);
if(FAILED(hres))
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment