Commit b2e2b70d authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Skip dash characters in the PIDMask for a MaskedEdit control.

parent 3e507e3c
......@@ -961,6 +961,12 @@ static struct msi_maskedit_info * msi_dialog_parse_groups( LPCWSTR mask )
p++;
for( i=0; i<MASK_MAX_GROUPS; i++ )
{
while (*p=='-')
{
total++;
p++;
}
/* stop at the end of the string */
if( p[0] == 0 || p[0] == '>' )
break;
......@@ -980,7 +986,7 @@ static struct msi_maskedit_info * msi_dialog_parse_groups( LPCWSTR mask )
p += n;
}
TRACE("%d characters in %d groups\n", total, info->num_groups );
TRACE("%d characters in %d groups\n", total, i );
if( i == MASK_MAX_GROUPS )
ERR("too many groups in PIDTemplate %s\n", debugstr_w(mask));
......
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