crypt32: Clear dirty flag after flushing changes to registry.
Signed-off-by: Daniel Lehman <dlehman@esri.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1353d02904
commit
e6f6e7ebda
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue