[SHELL32]
authorJérôme Gardou <jerome.gardou@reactos.org>
Sat, 8 Dec 2012 16:34:08 +0000 (16:34 +0000)
committerJérôme Gardou <jerome.gardou@reactos.org>
Sat, 8 Dec 2012 16:34:08 +0000 (16:34 +0000)
 - Use CPL_STARTWPARMSW since we are sending a unicode string

svn path=/trunk/; revision=57820

reactos/dll/win32/shell32/control.cpp

index 8f8a688..09dcbd6 100644 (file)
@@ -432,7 +432,7 @@ static void Control_DoLaunch(CPanel *pPanel, HWND hWnd, LPCWSTR pwszCmd)
             /* Start the applet */
             TRACE("Starting applet %d\n", i);
             if (!pApplet->proc(pApplet->hWnd, CPL_DBLCLK, i, pApplet->info[i].lData))
             /* Start the applet */
             TRACE("Starting applet %d\n", i);
             if (!pApplet->proc(pApplet->hWnd, CPL_DBLCLK, i, pApplet->info[i].lData))
-                pApplet->proc(pApplet->hWnd, CPL_STARTWPARMSA, i, (LPARAM)pwszArg);
+                pApplet->proc(pApplet->hWnd, CPL_STARTWPARMSW, i, (LPARAM)pwszArg);
         } else
             ERR("Applet not found: %ls\n", pwszArg ? pwszArg : L"NULL");
 
         } else
             ERR("Applet not found: %ls\n", pwszArg ? pwszArg : L"NULL");