diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2016-08-30 12:11:03 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2017-04-19 09:36:54 +1000 |
commit | bd533e305d433c6cd556b876e3c66b075f239038 (patch) | |
tree | 2d6e119919e73fdd5a9717318b0fbdfc272ee488 | |
parent | bd3965e278977b39e5c818eff3199ce87ed5e733 (diff) |
Use XMLNode::set_property API in WiimoteControlProtocol class
-rw-r--r-- | libs/surfaces/wiimote/wiimote.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaces/wiimote/wiimote.cc b/libs/surfaces/wiimote/wiimote.cc index 56078545be..59f0ea2c86 100644 --- a/libs/surfaces/wiimote/wiimote.cc +++ b/libs/surfaces/wiimote/wiimote.cc @@ -89,7 +89,7 @@ XMLNode& WiimoteControlProtocol::get_state () { XMLNode& node (ControlProtocol::get_state()); - node.add_property (X_("feedback"), "0"); + node.set_property (X_("feedback"), "0"); return node; } |