Commit bd926bde authored by Owen Rudge's avatar Owen Rudge Committed by Alexandre Julliard

shell32: Check if a numerical value has been passed inside quotes in Control_DoLaunch.

parent 08e7a1bf
......@@ -772,6 +772,11 @@ static void Control_DoLaunch(CPanel* panel, HWND hWnd, LPCWSTR wszCmd)
extraPmts = extraPmtsBuf;
}
/* Now check if there had been a numerical value in the extra params */
if ((*extraPmts == '@') && (sp == -1)) {
sp = atoiW(extraPmts + 1);
}
TRACE("cmd %s, extra %s, sp %d\n", debugstr_w(buffer), debugstr_w(extraPmts), sp);
Control_LoadApplet(hWnd, buffer, panel);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment