From: Nikolay Sivov nsivov@codeweavers.com
--- dlls/msi/format.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/dlls/msi/format.c b/dlls/msi/format.c index 5301752a41a..0daebece21e 100644 --- a/dlls/msi/format.c +++ b/dlls/msi/format.c @@ -739,7 +739,13 @@ static BOOL verify_format(LPWSTR data)
while (*data) { - if (*data == '[' && *(data - 1) != '\') + if (*data == '\' && *(data + 1) == '[') + { + data += 2; + continue; + } + + if (*data == '[') count++; else if (*data == ']') count--;
This merge request was approved by Hans Leidekker.