summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2024-02-28 19:04:19 +0100
committerMitya Selivanov <automainint@guattari.tech>2024-02-28 19:04:19 +0100
commit0948d02a5a3abae918fa8f5fe1587e19cd0ada41 (patch)
tree97cf263eeeaf83a75edabeb0a7e5965363ef5fb1
parenta47dba85dbc6a230f30e6f2169d51300f797b1ba (diff)
downloadsaw-0948d02a5a3abae918fa8f5fe1587e19cd0ada41.zip
format config
-rw-r--r--.clang-format2
-rw-r--r--source/saw/main.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format
index b4483b5..11fb6f9 100644
--- a/.clang-format
+++ b/.clang-format
@@ -45,7 +45,7 @@ AlignConsecutiveDeclarations: Consecutive
AlignEscapedNewlines: Left
AllowShortLambdasOnASingleLine: All
AllowShortFunctionsOnASingleLine: Empty
-AllowShortBlocksOnASingleLine: Never
+AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AllowAllArgumentsOnNextLine: true
diff --git a/source/saw/main.c b/source/saw/main.c
index 838b4fe..d2d0962 100644
--- a/source/saw/main.c
+++ b/source/saw/main.c
@@ -872,6 +872,7 @@ static void saw_sampler_cleanup(saw_sampler_t *sampler) {
//
// TODO
// - UI library and tests.
+// - Use floating-point values for coordinates.
//
// ================================================================