Skip to content

Commit

Permalink
crypt32: Clear dirty flag after flushing changes to registry.
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Lehman <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>
  • Loading branch information
dlehman-work authored and julliard committed May 7, 2018
1 parent 1353d02 commit e6f6e7e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dlls/crypt32/regstore.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e6f6e7e

Please sign in to comment.