瀏覽代碼

Revert "Disable formatting not supported by Visual Studio 2019"

This reverts commit 26a75add31c219f0a9368b474b8a0691b937a465.

It turns out Visual Studio doesn't support a lot of the formatting used here.
Sam Lantinga 3 年之前
父節點
當前提交
c02cd20352
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .clang-format

+ 1 - 1
.clang-format

@@ -13,7 +13,7 @@ AllowShortEnumsOnASingleLine: true
 AllowShortBlocksOnASingleLine: Never
 AllowShortCaseLabelsOnASingleLine: false
 AllowShortFunctionsOnASingleLine: All
-#AllowShortIfStatementsOnASingleLine: AllIfsAndElse
+AllowShortIfStatementsOnASingleLine: AllIfsAndElse
 AllowShortLoopsOnASingleLine: false
 
 AlwaysBreakAfterDefinitionReturnType: All