Commit e6f6e7eb authored by Daniel Lehman's avatar Daniel Lehman Committed by Alexandre Julliard

crypt32: Clear dirty flag after flushing changes to registry.

parent 1353d029
......@@ -309,7 +309,11 @@ static BOOL CRYPT_RegFlushStore(WINE_REGSTOREINFO *store, BOOL force)
TRACE("(%p, %d)\n", store, force);
if (store->dirty || force)
{
ret = CRYPT_RegWriteToReg(store);
if (ret)
store->dirty = FALSE;
}
else
ret = TRUE;
return ret;
......
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