mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-14 21:09:05 +08:00
+fix: relaunch multi instances: don't cascade if pos param already defined
This commit is contained in:
parent
46da60aa8e
commit
96e65a4680
@ -11360,7 +11360,9 @@ bool RelaunchMultiInst()
|
||||
wi.x += (i * offset);
|
||||
wi.y += (i * offset);
|
||||
WCHAR wchPos[80] = { L'\0' };
|
||||
StringCchPrintf(wchPos, COUNTOF(wchPos), L" -pos %i,%i,%i,%i,%i", wi.x, wi.y, wi.cx, wi.cy, (int)wi.max);
|
||||
if (!Globals.CmdLnFlag_PosParam) {
|
||||
StringCchPrintf(wchPos, COUNTOF(wchPos), L" -pos %i,%i,%i,%i,%i", wi.x, wi.y, wi.cx, wi.cy, (int)wi.max);
|
||||
}
|
||||
size_t const pl = StringCchLen(wchPos, 80) + 1;
|
||||
|
||||
StringCchCopy(lpCmdLineNew, len, lpCmdLine);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user