projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
corrected logical error in finding indexation stylesheet
[idzebra-moved-to-github.git]
/
recctrl
/
xslt.c
diff --git
a/recctrl/xslt.c
b/recctrl/xslt.c
index
bdea2e7
..
6544b37
100644
(file)
--- a/
recctrl/xslt.c
+++ b/
recctrl/xslt.c
@@
-1,4
+1,4
@@
-/* $Id: xslt.c,v 1.23 2006-05-24 08:23:01 marc Exp $
+/* $Id: xslt.c,v 1.24 2006-05-24 12:56:56 marc Exp $
Copyright (C) 1995-2005
Index Data ApS
Copyright (C) 1995-2005
Index Data ApS
@@
-275,15
+275,15
@@
static struct filter_xslt_schema *lookup_schema(struct filter_xslt_info *tinfo,
{
/* find requested schema */
if (est)
{
/* find requested schema */
if (est)
- {
+ {
if (schema->identifier && !strcmp(schema->identifier, est))
if (schema->identifier && !strcmp(schema->identifier, est))
- return schema;
+ return schema;
+
if (schema->name && !strcmp(schema->name, est))
return schema;
if (schema->name && !strcmp(schema->name, est))
return schema;
- }
-
+ }
/* or return default schema if defined */
/* or return default schema if defined */
- if (schema->default_schema)
+ else if (schema->default_schema)
return schema;
}
return schema;
}