mirror of
https://github.com/holub/mame
synced 2025-07-01 00:09:18 +03:00
gah, wasn't quite compatible (nw)
This commit is contained in:
parent
346e0a8a92
commit
1b12a8940b
@ -209,8 +209,8 @@ xml_data_node::xml_data_node(xml_data_node *parent, const char *name, const char
|
|||||||
: line(0)
|
: line(0)
|
||||||
, m_next(nullptr)
|
, m_next(nullptr)
|
||||||
, m_first_child(nullptr)
|
, m_first_child(nullptr)
|
||||||
, m_name(name)
|
, m_name(name ? name : "")
|
||||||
, m_value(value)
|
, m_value(value ? value : "")
|
||||||
, m_parent(parent)
|
, m_parent(parent)
|
||||||
, m_attributes()
|
, m_attributes()
|
||||||
{
|
{
|
||||||
@ -237,7 +237,7 @@ xml_data_node::~xml_data_node()
|
|||||||
|
|
||||||
void xml_data_node::set_value(char const *value)
|
void xml_data_node::set_value(char const *value)
|
||||||
{
|
{
|
||||||
m_value.assign(value);
|
m_value.assign(value ? value : "");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user