https://git.reactos.org/?p=reactos.git;a=commitdiff;h=efb923073ca2661d2ea5e36071b47e962daeaa46

commit efb923073ca2661d2ea5e36071b47e962daeaa46
Author:     Robert Naumann <[email protected]>
AuthorDate: Tue Feb 14 22:19:38 2023 +0100
Commit:     Robert Naumann <[email protected]>
CommitDate: Tue Feb 14 22:19:52 2023 +0100

    [REGEDIT] Work around a Wine bug. Fixes CORE-18603
    
    See https://bugs.winehq.org/show_bug.cgi?id=54491
---
 base/applications/regedit/regproc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/base/applications/regedit/regproc.c 
b/base/applications/regedit/regproc.c
index 0fdbbc257f5..c76c35787c5 100644
--- a/base/applications/regedit/regproc.c
+++ b/base/applications/regedit/regproc.c
@@ -1510,6 +1510,9 @@ static BOOL export_key(WCHAR *file_name, WCHAR *path, 
BOOL unicode)
     fclose(fp);
 
     RegCloseKey(key);
+#ifdef __REACTOS__      /* Fixes CORE-18603: Remove this when Wine Bug 54491 
is fixed and synched back */
+    ret = TRUE;
+#endif
     return ret;
 }
 

Reply via email to