From efb923073ca2661d2ea5e36071b47e962daeaa46 Mon Sep 17 00:00:00 2001 From: Robert Naumann Date: Tue, 14 Feb 2023 22:19:38 +0100 Subject: [PATCH] [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; }