diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-10-09 13:45:17 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-10-09 13:45:17 +0100 |
| commit | 06524b61729fa552ae255158203a99a321b71647 (patch) | |
| tree | b653131dd92bd7d0dbaaf5c35db719153640b816 /src | |
| parent | fd7dada1f4f5668e56a7cf3a268d22702f6ba52d (diff) | |
Use 0/1 not no/yes for bool.
Diffstat (limited to 'src')
| -rw-r--r-- | src/cxml.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cxml.cc b/src/cxml.cc index 9a6a4e1..f6305d0 100644 --- a/src/cxml.cc +++ b/src/cxml.cc @@ -259,7 +259,7 @@ cxml::Node::set_string_content (string c) void cxml::Node::set_bool_content (bool c) { - _content = c ? "yes" : "no"; + _content = c ? "1" : "0"; } cxml::NodePtr |
