aboutsummaryrefslogtreecommitdiff
path: root/examples/main
diff options
context:
space:
mode:
authorPavol Rusnak <pavol@rusnak.io>2023-04-11 21:45:44 +0200
committerGitHub <noreply@github.com>2023-04-11 19:45:44 +0000
commit8b679987cdce292ff36bd741f6715e4927e26f9b (patch)
treef6b913d90283ec662004818846e0a14357c0209e /examples/main
parent3e6e70d8e8917b5bd14c7c9f9b89a585f1ff0b31 (diff)
Fix whitespace, add .editorconfig, add GitHub workflow (#883)
Diffstat (limited to 'examples/main')
-rw-r--r--examples/main/README.md6
-rw-r--r--examples/main/main.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/main/README.md b/examples/main/README.md
index 4701aa5..f09e7ba 100644
--- a/examples/main/README.md
+++ b/examples/main/README.md
@@ -1,3 +1,3 @@
-# main
-
-TODO
+# main
+
+TODO
diff --git a/examples/main/main.cpp b/examples/main/main.cpp
index bf756c1..ba153cb 100644
--- a/examples/main/main.cpp
+++ b/examples/main/main.cpp
@@ -168,7 +168,7 @@ int main(int argc, char ** argv) {
}
// enable interactive mode if reverse prompt or interactive start is specified
- if (params.antiprompt.size() != 0 || params.interactive_start) {
+ if (params.antiprompt.size() != 0 || params.interactive_start) {
params.interactive = true;
}