projects
/
libcxml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd7dada
)
Use 0/1 not no/yes for bool.
author
Carl Hetherington
<cth@carlh.net>
Thu, 9 Oct 2014 12:45:17 +0000
(13:45 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 9 Oct 2014 12:45:17 +0000
(13:45 +0100)
src/cxml.cc
patch
|
blob
|
history
diff --git
a/src/cxml.cc
b/src/cxml.cc
index 9a6a4e1307fb0e95961735cbe437d1779a4e69f5..f6305d0392161102876ac9c943b65b0367c4f467 100644
(file)
--- 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