 	if (setPrgLnchOptDefs)
 	{
 	GetResInfo(targMonitorNum, 1, allModes, iDevNumArray, setPrgLnchOptDefs)
-	oldResStrng[targMonitorNum] := oldCurrRes
+	oldResStrng[targMonitorNum] := selCurrRes
 	}
 	else
 	{

	else
	{
	;Sets new defaults according to resolution changes when changing res
		if (PrgLnchOpt.Fmode() || PrgLnchOpt.DynamicMode())
		{
		CopyToFromRes(targMonitorNum, 1)
		scrWidthDefArr[targMonitorNum] := PrgLnchOpt.scrWidthDef



; TASKDIALOGCONFIG structure
	if (PrgLnch.64Bit()) ; X64
	{
	NumPut(VarSetCapacity(TDC, 160, 0), TDC, 0, "UInt") ; cbSize
	NumPut(hwndParent, TDC, 4, "Ptr") ; hwndParent
