Procházet zdrojové kódy

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 před 2 roky
rodič
revize
c02cd20352
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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