浏览代码

Short branch first

Source commit: 8d2a3e49cd0b5ebef4405673f4868ee40e89af5c
Martin Prikryl 9 年之前
父节点
当前提交
3600e891ac
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      source/windows/WinConfiguration.cpp

+ 5 - 5
source/windows/WinConfiguration.cpp

@@ -2719,7 +2719,11 @@ void __fastcall TCustomCommandType::LoadExtension(TStrings * Lines)
         Line.Delete(1, 2);
       }
 
-      if (IsComment)
+      if (!IsComment)
+      {
+        break;
+      }
+      else
       {
         Line = Line.Trim();
         int P;
@@ -2838,10 +2842,6 @@ void __fastcall TCustomCommandType::LoadExtension(TStrings * Lines)
           }
         }
       }
-      else
-      {
-        break;
-      }
     }
   }