13
0

Fix µ-iness.

This commit is contained in:
Robin Gareus 2016-01-27 23:39:35 +01:00
parent b985f87a77
commit ec8cf4e4f5

View File

@ -110,7 +110,13 @@ Controllable::get_state ()
LocaleGuard lg (X_("C")); LocaleGuard lg (X_("C"));
char buf[64]; char buf[64];
node->add_property (X_("name"), _name); // not reloaded from XML state, just there to look at /* Waves' "Pressure3" has a parameter called "µ-iness"
* which causes a parser error : Input is not proper UTF-8, indicate encoding !
* Bytes: 0xB5 0x2D 0x69 0x6E
* <Controllable name="<EFBFBD>-iness" id="2391" flags="" value="0.000000000000" p
*/
//node->add_property (X_("name"), _name); // not reloaded from XML state, just there to look at
id().print (buf, sizeof (buf)); id().print (buf, sizeof (buf));
node->add_property (X_("id"), buf); node->add_property (X_("id"), buf);
node->add_property (X_("flags"), enum_2_string (_flags)); node->add_property (X_("flags"), enum_2_string (_flags));