 {
     FileType := RegGetNewFileType(reg)
     RegRead, FileDesc, HKEY_CLASSES_ROOT, %FileType%
-    If Not ErrorLevel
+    if Not ErrorLevel
         return FileDesc
 }
 ; 获取文件对应的图标

    Clipboard :=
    GoSub, <cm_CopyFullNamesToClip>
    ClipWait, 2
    If clipboard
        AddPath := clipboard
    Else
        return
    clipboard := ClipSaved
    If FileExist(AddPath)
        Splitpath, AddPath, filename, , fileext, filenamenoext
    else
        return

    ClipWait, 1
    Path := Clipboard
    Clipboard := ClipSaved
    if RegExMatch(Path, "^.:\\$")
    {
        GoSub, <cm_OpenDrives>
        Path := "i)" . RegExReplace(Path, "\\", "")
