diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-08-23 12:17:05 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-08-23 12:17:05 +0200 |
commit | c0b89ac5bfb90835ef01573267020e42d4fe070c (patch) | |
tree | 733c16852d964d84b7565af4bdaff0bcca901b88 /namedc/namedc.c | |
parent | 094535c010320967639e8e86f974d878e80baa72 (diff) |
Imported Upstream version 1.8.0upstream/1.8.0
Diffstat (limited to 'namedc/namedc.c')
-rwxr-xr-x[-rw-r--r--] | namedc/namedc.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/namedc/namedc.c b/namedc/namedc.c index d1dece9..6dcfce8 100644..100755 --- a/namedc/namedc.c +++ b/namedc/namedc.c @@ -292,7 +292,7 @@ char *sfx(namedc *p, char *key) { return p->prefix; } -/* Read in a namedc from a cxf3 file */ +/* Read in a namedc from a cxf2 or cxf3 file */ /* Return nz on error */ static int read_cxf(namedc *p, const char *filename, int options) { FILE *fp; @@ -490,11 +490,16 @@ static int read_cxf(namedc *p, const char *filename, int options) { goto next; /* Skip this one */ } - /* Check the attribute value */ - if (strcmp(attr, "Standard") != 0) { +#ifdef NEVER + /* Check the attribute value (Should we ?) */ + /* Known values are: Standard, Color */ + /* May be Trial, Target, Substrate, Colorant, ... ? */ + if (strcmp(attr, "Standard") != 0 + && strcmp(attr, "Color") != 0) { a1logd(p->log, DEB6, "read_cxf: skipping node with ObjectType = '%s'\n",attr); goto next; /* Skip this one */ } +#endif } if ((attr = mxmlElementGetAttr(node, SampleNameKey)) == NULL) { |