summaryrefslogtreecommitdiff
path: root/backends/markup-tree.c
diff options
context:
space:
mode:
authorFernando Herrera de las Heras <fherrera@src.gnome.org>2004-11-02 18:29:41 +0000
committerFernando Herrera de las Heras <fherrera@src.gnome.org>2004-11-02 18:29:41 +0000
commitd763e2fe66d953cde9bc9ab12bbf813bf69f1019 (patch)
tree64058723fa515d5f7be0e9fbf0eb4c543d1f9ae9 /backends/markup-tree.c
parent2ef2d4e473434b6c4b6fdaf6787097f05446657e (diff)
downloadgconf-d763e2fe66d953cde9bc9ab12bbf813bf69f1019.tar.gz
Read the schema file until a matching locale is found and the C one. This
* backends/markup-tree.c: (markup_entry_get_value): Read the schema file until a matching locale is found and the C one. This solves bug #152175 when current locale is before the C.
Diffstat (limited to 'backends/markup-tree.c')
-rw-r--r--backends/markup-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/markup-tree.c b/backends/markup-tree.c
index 6b041675..faacfe2d 100644
--- a/backends/markup-tree.c
+++ b/backends/markup-tree.c
@@ -1502,7 +1502,7 @@ markup_entry_get_value (MarkupEntry *entry,
}
/* Quit as soon as we have the best possible locale */
- if (local_schemas[0] != NULL)
+ if (local_schemas[0] != NULL && c_local_schema != NULL)
break;
tmp = tmp->next;