summaryrefslogtreecommitdiff
path: root/src/metadata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/metadata.cpp')
-rw-r--r--src/metadata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/metadata.cpp b/src/metadata.cpp
index 7b63efb..5859e1c 100644
--- a/src/metadata.cpp
+++ b/src/metadata.cpp
@@ -1156,7 +1156,7 @@ CompMetadata::getStringFromPath (CompString path)
CompString v = "";
if (!initXPathFromMetadataPath (&xPath, this, BAD_CAST path.c_str ()))
- return NULL;
+ return "";
xPath.obj = xmlXPathConvertString (xPath.obj);