From 565e23a7df9a99ac60c3dbc9692b33497423188b Mon Sep 17 00:00:00 2001
From: RincewindsHat <12514511+RincewindsHat@users.noreply.github.com>
Date: Tue, 12 Sep 2023 15:50:00 +0200
Subject: Switch guidelines to use bool instead of int for booleans
---
doc/developer-guidelines.sgml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'doc')
diff --git a/doc/developer-guidelines.sgml b/doc/developer-guidelines.sgml
index c900aeac..37c963ed 100644
--- a/doc/developer-guidelines.sgml
+++ b/doc/developer-guidelines.sgml
@@ -733,9 +733,9 @@ setup the tests. Run "make test" to run all the tests.
Variables should be declared at the beginning of code blocks and
not inline because of portability with older compilers.
- You should also avoid using the type "bool" and its values
- "true" and "false". Instead use the "int" type and the plugins' own
- "TRUE"/"FALSE" values to keep the code uniformly.
+ You should use the type "bool" and its values
+ "true" and "false" instead of the "int" type for booleans.
+
Crediting sources
--
cgit v1.2.3-74-g34f1