     ControlGetPos, , , wp, hp, TPanel1, ahk_class TTOTAL_CMD
     ControlGetPos, , , w1, h1, TMyListBox1, ahk_class TTOTAL_CMD
     ControlGetPos, , , w2, h2, TMyListBox2, ahk_class TTOTAL_CMD
-    if (wp  < hp)     ;纵向
-        {
-        if (abs(w1 - w2) > 2  )
+    if (wp < hp)
+    {
+        ;纵向
+        if (abs(w1 - w2) > 2)
             SendPos(909)
         else
             SendPos(910)
-        }
-    else    ;横向
-        {
-        if (abs(h1 - h2)  > 2  )
+    }
+    else
+    {
+        ;横向
+        if (abs(h1 - h2)  > 2)
             SendPos(909)
         else
             SendPos(910)
-        }
-    return
+    }
+return
 
 ;使用外部查看器打开（alt+f3）
 <TC_OpenWithAlternateViewer>:

    IniWrite, %TCPath%, %ConfigPath%, TotalCommander_Config, TCPath
    IniWrite, %TCINI%, %ConfigPath%, TotalCommander_Config, TCINI
}
Totalcomander_select_tc64:
    Totalcomander_select_tc64()
return
Totalcomander_select_tc64(){
    GUI, FindTC:Default
    GuiControlGet, dir, , Edit1
    TCPath := dir "\totalcmd64.exe"

    SendPos(526)
    SetTimer WaitMenuPop2
return

WaitMenuPop2:
    winget, menupop, , ahk_class #32768
    if menupop
