summaryrefslogtreecommitdiffstats
path: root/src/nbdebug.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2023-01-22 21:14:53 +0000
committerBram Moolenaar <Bram@vim.org>2023-01-22 21:14:53 +0000
commitebfec1c531f32d424bb2aca6e7391ef3bfcbfe20 (patch)
treed017ab5fcc15f2eef851de089c3b2aef39d7a387 /src/nbdebug.h
parent3d79f0a4309995956bd8889940cca22f7a15881d (diff)
patch 9.0.1234: the code style has to be checked manuallyv9.0.1234
Problem: The code style has to be checked manually. Solution: Add basic code style checks in a test. Fix or avoid uncovered problems.
Diffstat (limited to 'src/nbdebug.h')
-rw-r--r--src/nbdebug.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nbdebug.h b/src/nbdebug.h
index 9a47c3a890..20bbb049e2 100644
--- a/src/nbdebug.h
+++ b/src/nbdebug.h
@@ -15,7 +15,8 @@
# ifndef ASSERT
# define ASSERT(c) \
- if (!(c)) { \
+ if (!(c)) \
+ { \
fprintf(stderr, "Assertion failed: line %d, file %s\n", \
__LINE__, __FILE__); \
fflush(stderr); \