wine/dlls/atl registrar.c
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Nov 18 06:04:53 CST 2005
ChangeSet ID: 21320
CVSROOT: /opt/cvs-commit
Module name: wine
Changes by: julliard at winehq.org 2005/11/18 06:04:53
Modified files:
dlls/atl : registrar.c
Log message:
Jacek Caban <jacek at codeweavers.com>
Fix parsing '{' char.
Patch: http://cvs.winehq.org/patch.py?id=21320
Old revision New revision Changes Path
1.15 1.16 +2 -2 wine/dlls/atl/registrar.c
Index: wine/dlls/atl/registrar.c
diff -u -p wine/dlls/atl/registrar.c:1.15 wine/dlls/atl/registrar.c:1.16
--- wine/dlls/atl/registrar.c:1.15 18 Nov 2005 12: 4:53 -0000
+++ wine/dlls/atl/registrar.c 18 Nov 2005 12: 4:53 -0000
@@ -125,7 +125,7 @@ static HRESULT get_word(LPCOLESTR *str,
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
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;
More information about the wine-cvs
mailing list