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

commit 4acf1007df5833a84a869f44c35d1df63d5cf24a
Author:     Mark Jansen <[email protected]>
AuthorDate: Sun Sep 5 21:19:10 2021 +0200
Commit:     Mark Jansen <[email protected]>
CommitDate: Tue Sep 21 21:42:32 2021 +0200

    [FONTEXT] Restore folder icon
---
 dll/shellext/fontext/fontext.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dll/shellext/fontext/fontext.cpp b/dll/shellext/fontext/fontext.cpp
index 0b68e40a7cb..f56a8849830 100644
--- a/dll/shellext/fontext/fontext.cpp
+++ b/dll/shellext/fontext/fontext.cpp
@@ -54,7 +54,9 @@ STDAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID 
*ppv)
 STDAPI DllRegisterServer()
 {
     WCHAR Path[MAX_PATH] = { 0 };
-    static const char DesktopIniContents[] = 
"[.ShellClassInfo]\r\nCLSID={BD84B380-8CA2-1069-AB1D-08000948F534}\r\n";
+    static const char DesktopIniContents[] = "[.ShellClassInfo]\r\n"
+        "CLSID={BD84B380-8CA2-1069-AB1D-08000948F534}\r\n"
+        "IconResource=%SystemRoot%\\system32\\shell32.dll,-39\r\n"; // 
IDI_SHELL_FONTS_FOLDER
     HANDLE hFile;
     HRESULT hr;
 

Reply via email to