diff options
author | Dennis Kasprzyk <onestone@opencompositing.org> | 2008-08-14 13:56:14 +0200 |
---|---|---|
committer | Dennis kasprzyk <onestone@opencompositing.org> | 2008-08-14 13:56:14 +0200 |
commit | fa7e9361989282eddfc3012ffc392fadebf2b3c5 (patch) | |
tree | 9f9d6926eae7c793e4b9e878da65406e872b754a /src/metadata.cpp | |
parent | c9b8f6dff3c7457f5e05802335327200fa169110 (diff) | |
download | zcomp-fa7e9361989282eddfc3012ffc392fadebf2b3c5.tar.gz zcomp-fa7e9361989282eddfc3012ffc392fadebf2b3c5.tar.bz2 |
Implementation of CompMatch as C++ class.
Diffstat (limited to 'src/metadata.cpp')
-rw-r--r-- | src/metadata.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/metadata.cpp b/src/metadata.cpp index 88bdce6..51b69d2 100644 --- a/src/metadata.cpp +++ b/src/metadata.cpp @@ -715,7 +715,7 @@ initMatchValue (CompDisplay *d, { xmlChar *value; - matchInit (&v->match); + v->match = new CompMatch (); if (!doc) return; @@ -723,12 +723,12 @@ initMatchValue (CompDisplay *d, value = xmlNodeListGetString (doc, node->xmlChildrenNode, 1); if (value) { - matchAddFromString (&v->match, (char *) value); + *v->match = (char *) value; xmlFree (value); } if (!helper) - matchUpdate (d, &v->match); + v->match->update (d); } static void |