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

commit b41146dd808e21d663a2e8ede58723e7bd90da4c
Author:     Katayama Hirofumi MZ <katayama.hirofumi...@gmail.com>
AuthorDate: Fri Aug 2 08:47:46 2024 +0900
Commit:     GitHub <nore...@github.com>
CommitDate: Fri Aug 2 08:47:46 2024 +0900

    [BROWSEUI] Fix mistake (IDR_EXPLORERBAND -> IDR_FILESEARCHBAND) (#7210)
    
    JIRA issue: CORE-19705
    #7163 (960a305) made a regression on DllRegisterServer.
    The cause is lacking IDR_EXPLORERBAND that
    CSearchBar wants.
    IDR_EXPLORERBAND for CSearchBar is a mistake.
    - Use IDR_FILESEARCHBAND resource instead of
      IDR_EXPLORERBAND resource for CSearchBar class.
---
 dll/win32/browseui/resource.h             | 1 -
 dll/win32/browseui/shellfind/CSearchBar.h | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/dll/win32/browseui/resource.h b/dll/win32/browseui/resource.h
index ca58cf9651c..d6c1a39b558 100644
--- a/dll/win32/browseui/resource.h
+++ b/dll/win32/browseui/resource.h
@@ -99,7 +99,6 @@
 #define IDR_INTERNETTOOLBAR      136
 #define IDR_GLOBALFOLDERSETTINGS 137
 #define IDR_REGTREEOPTIONS       138
-#define IDR_EXPLORERBAND         139
 #define IDR_PROGRESSDIALOG       140
 #define IDR_AUTOCOMPLETE         141
 #define IDR_ACLISTISF            142
diff --git a/dll/win32/browseui/shellfind/CSearchBar.h 
b/dll/win32/browseui/shellfind/CSearchBar.h
index c6795ced539..a798e368d5c 100644
--- a/dll/win32/browseui/shellfind/CSearchBar.h
+++ b/dll/win32/browseui/shellfind/CSearchBar.h
@@ -80,7 +80,7 @@ public:
 
     enum { IDD = IDD_SEARCH_DLG };
 
-    DECLARE_REGISTRY_RESOURCEID(IDR_EXPLORERBAND)
+    DECLARE_REGISTRY_RESOURCEID(IDR_FILESEARCHBAND)
     DECLARE_NOT_AGGREGATABLE(CSearchBar)
 
     DECLARE_PROTECT_FINAL_CONSTRUCT()

Reply via email to