shell32: Check if a numerical value has been passed inside quotes in Control_DoLaunch.
This commit is contained in:
parent
08e7a1bfe7
commit
bd926bde38
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue