diff options
Diffstat (limited to 'src/xml/simple-node.cpp')
| -rw-r--r-- | src/xml/simple-node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xml/simple-node.cpp b/src/xml/simple-node.cpp index fa626a3f2..d83e5d54b 100644 --- a/src/xml/simple-node.cpp +++ b/src/xml/simple-node.cpp @@ -429,7 +429,7 @@ SimpleNode::setAttribute(gchar const *name, gchar const *value, bool const is_in } } - if ( new_value != old_value ) { + if ( new_value != old_value && (!old_value || !new_value || strcmp(old_value, new_value))) { if (_logger) { _logger->notifyAttributeChanged(*this, key, old_value, new_value); } |
